Compare commits
3 commits
e58be04ddf
...
6e9390c197
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e9390c197 | |||
| ef39cc12e1 | |||
| 2e78cb4103 |
2 changed files with 38 additions and 9 deletions
38
README.md
38
README.md
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
[Issue tracker](https://git.uphillsecurity.com/cf7/linedump/issues) | `Libera Chat #linedump`
|
[Issue tracker](https://git.uphillsecurity.com/cf7/linedump/issues) | `Libera Chat #linedump`
|
||||||
|
|
||||||
|
|
||||||
- Status: Beta - expect minor changes
|
- Status: Beta - expect minor changes
|
||||||
- Instance: [linedump.com](https://linedump.com/)
|
- Instance: [linedump.com](https://linedump.com/)
|
||||||
- Inspired by:
|
- Inspired by:
|
||||||
|
|
@ -57,11 +56,14 @@ ipconfig | Invoke-RestMethod -Uri "https://linedump.com/" -Method Post -Body { $
|
||||||
|
|
||||||
█ Download:
|
█ Download:
|
||||||
|
|
||||||
curl https://linedump.com/{path}
|
curl https://linedump.com/{path} # print to stdout
|
||||||
|
curl -o filename.txt https://linedump.com/{path} # save to file
|
||||||
|
|
||||||
wget -O- https://linedump.com/{path}
|
wget -O- https://linedump.com/{path} # print to stdout
|
||||||
|
wget -O filename.txt https://linedump.com/{path} # save to file
|
||||||
|
|
||||||
Invoke-RestMethod -Uri "https://linedump.com/{path}"
|
Invoke-RestMethod -Uri "https://linedump.com/{path}" # print to stdout
|
||||||
|
Invoke-RestMethod -Uri "https://linedump.com/{path}" -OutFile "filename.txt" # save to file
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -112,9 +114,32 @@ curl -s https://linedump.com/{path} | base64 -d | openssl enc -d -aes-256-cb
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Use with reverse-proxy and HTTPS!
|
**Use with reverse-proxy and HTTPS!**
|
||||||
|
|
||||||
### Environment Variables
|
### Docker
|
||||||
|
|
||||||
|
**Simple / Testing**
|
||||||
|
|
||||||
|
`docker run -d -p 127.0.0.1:8000:8000 -v /path/to/upload:/app/upload git.uphillsecurity.com/cf7/linedump:latest`
|
||||||
|
|
||||||
|
Open `http://127.0.0.1:8000`
|
||||||
|
|
||||||
|
**More advanced example with Podman**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
podman run --replace -d --restart=unless-stopped \
|
||||||
|
--name linedump \
|
||||||
|
-e BASEURL="https://linedump.com" \
|
||||||
|
--userns=keep-id \
|
||||||
|
--read-only \
|
||||||
|
--cap-drop=ALL \
|
||||||
|
--security-opt no-new-privileges:true \
|
||||||
|
-p 127.0.0.1:8000:8000 \
|
||||||
|
-v linedump:/app/uploads \
|
||||||
|
git.uphillsecurity.com/cf7/linedump:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
| Variable | Description | Default | Required |
|
| Variable | Description | Default | Required |
|
||||||
|----------|-------------|---------|----------|
|
|----------|-------------|---------|----------|
|
||||||
|
|
@ -135,6 +160,7 @@ For security concerns or reports, please contact via `hello a t uphillsecurity d
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- [Github Mirror available](https://github.com/CaffeineFueled1/linedump)
|
- [Github Mirror available](https://github.com/CaffeineFueled1/linedump)
|
||||||
|
- [Rate Limit Testing Script](https://git.uphillsecurity.com/cf7/Snippets/wiki/bash-linedump-ratelimit-test.-)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
9
main.py
9
main.py
|
|
@ -143,11 +143,14 @@ ipconfig | Invoke-RestMethod -Uri "{BASEURL}/" -Method Post -Body {{ $_ }}
|
||||||
|
|
||||||
█ Download:
|
█ Download:
|
||||||
|
|
||||||
curl {BASEURL}/{{path}}
|
curl {BASEURL}/{{path}} # print to stdout
|
||||||
|
curl -o filename.txt {BASEURL}/{{path}} # save to file
|
||||||
|
|
||||||
wget -O- {BASEURL}/{{path}}
|
wget -O- {BASEURL}/{{path}} # print to stdout
|
||||||
|
wget -O filename.txt {BASEURL}/{{path}} # save to file
|
||||||
|
|
||||||
Invoke-RestMethod -Uri "{BASEURL}/{{path}}"
|
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" # print to stdout
|
||||||
|
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" -OutFile "filename.txt" # save to file
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue