Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.35 KB

File metadata and controls

57 lines (41 loc) · 1.35 KB

boop..

..is a more featured cli tool to replace them python3 -m http.server's

( a quick http server to transfer or exfiltrate data )

examples

# 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/ --host

install

go install github.com/reckedpr/boop/cmd/boop@latest

usage

boop [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

alternatives

#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