Compare commits
No commits in common. "6e9390c1979f376da6a99d9c2ebbdcb5fe66572a" and "e58be04ddf20c1878dfbee605cc43010041bf132" have entirely different histories.
6e9390c197
...
e58be04ddf
2 changed files with 9 additions and 38 deletions
38
README.md
38
README.md
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
[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:
|
||||||
|
|
@ -56,14 +57,11 @@ ipconfig | Invoke-RestMethod -Uri "https://linedump.com/" -Method Post -Body { $
|
||||||
|
|
||||||
█ Download:
|
█ Download:
|
||||||
|
|
||||||
curl https://linedump.com/{path} # print to stdout
|
curl https://linedump.com/{path}
|
||||||
curl -o filename.txt https://linedump.com/{path} # save to file
|
|
||||||
|
|
||||||
wget -O- https://linedump.com/{path} # print to stdout
|
wget -O- https://linedump.com/{path}
|
||||||
wget -O filename.txt https://linedump.com/{path} # save to file
|
|
||||||
|
|
||||||
Invoke-RestMethod -Uri "https://linedump.com/{path}" # print to stdout
|
Invoke-RestMethod -Uri "https://linedump.com/{path}"
|
||||||
Invoke-RestMethod -Uri "https://linedump.com/{path}" -OutFile "filename.txt" # save to file
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -114,32 +112,9 @@ 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!
|
||||||
|
|
||||||
### Docker
|
### Environment Variables
|
||||||
|
|
||||||
**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 |
|
||||||
|----------|-------------|---------|----------|
|
|----------|-------------|---------|----------|
|
||||||
|
|
@ -160,7 +135,6 @@ 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,14 +143,11 @@ ipconfig | Invoke-RestMethod -Uri "{BASEURL}/" -Method Post -Body {{ $_ }}
|
||||||
|
|
||||||
█ Download:
|
█ Download:
|
||||||
|
|
||||||
curl {BASEURL}/{{path}} # print to stdout
|
curl {BASEURL}/{{path}}
|
||||||
curl -o filename.txt {BASEURL}/{{path}} # save to file
|
|
||||||
|
|
||||||
wget -O- {BASEURL}/{{path}} # print to stdout
|
wget -O- {BASEURL}/{{path}}
|
||||||
wget -O filename.txt {BASEURL}/{{path}} # save to file
|
|
||||||
|
|
||||||
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" # print to stdout
|
Invoke-RestMethod -Uri "{BASEURL}/{{path}}"
|
||||||
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" -OutFile "filename.txt" # save to file
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue