This is a Simple web server written in GO.
This webserver was designed with penetration testing in mind, where the need for a simple webserver may arise. The code is tested on windows and linux.
- Simple webserver with custom port assignment.
- Has download and multiple files upload feature.
- List all the file in the current directory.
The upload feature in the server does not perform any security check and it is intentionally done to provide flexibility during the engagement. TLS implementation in progress.
go install github.com/secopsbear/sb-http@latestgo build -o sb-httpAdd
-ldflags "-s -w"flags to reduce the file size by deleting the debug links and info in the binary
upx --ultra-brute sb-httpGenerate an executable sb-http.exe for windows environment.
env GOOS=windows GOARCH=amd64 go build -o sb-http.exe -ldflags "-s -w"sb-http serve$ sb-http serve -h
Basic server with upload and download feature
Usage:
sb-http serve [flags]
Flags:
-h, --help help for serve
-p, --port string Enter the port number (default "8099")If you found an issue or would like to submit an improvement to this project, please submit an issue using the issues tab above.