..is a more featured cli tool to replace them python3 -m http.server's
( a quick http server to transfer or exfiltrate data )
# serve the current directory
boop
# serve a different directory
boop /home/reckedpr
# serve from stdin (as plaintext)
sudo journalctl -u ssh | boop
# serve file for 5 minutes then stop
boop docker-compose.yml -t 5
# bind to host and serve foo/
boop foo/ --hostgo install github.com/reckedpr/boop/cmd/boop@latestboop [path] [flags]
# ^ flags can come first, no order| arg | description | default |
|---|---|---|
-p or --port |
port to serve on | 8080 |
-t or --time |
time in minutes to serve for before stopping | ∞ |
--host |
expose to host (bind to 0.0.0.0) | 127.0.0.1 |
-d or --download |
force clients to always download files (instead of viewing) | false |
-v or --verbose |
verbose output (includes requests) | false |
#humble
probably better alternatives out there; this was more of a personal project..
| lang | link |
|---|---|
| JS | http-party/http-server |
| Go | projectdiscovery/simplehttpserver |
| Python | sc0tfree/updog |
| Go | eliben/static-server |