Skip to content

reckedpr/boop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

featured http server for data transfer, written in go

Resources

Stars

Watchers

Forks

Contributors

Languages