A simple cli tool to generate reverse shell in various languages and environments written in GO.
go install github.com/secopsbear/sb-shells@latest
go build -o sb-shells
Add
-ldflags "-s -w"
flags to reduce the file size by deleting the debug links and info in the binary
upx --ultra-brute sb-shells
Generate an executable sb-shells.exe
for windows environment.
env GOOS=windows GOARCH=amd64 go build -o sb-shells.exe -ldflags "-s -w"
$ sb-shells -h
Generate shell codes for various environments Powershell, bash, php..
Usage:
sb-shells [command]
Available Commands:
bash Generate bash reverse shell scripts
completion Generate the autocompletion script for the specified shell
groovy Generate Groovy reverse shell script
help Help about any command
php Generate php reverse shell
ps Generate powershell reverse shell scripts
Flags:
-h, --help help for sb-shells
-i, --ipAddrLocal string Local IP address
-p, --portLocal string Local Port
Use "sb-shells [command] --help" for more information about a command.
More information on demo and usage is available at https:/secopsbear.com
If you found an issue or would like to submit an improvement to this project, please submit an issue using the issues tab above.