Skip to content

SecOpsBear/sb-shells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shells generator

A simple cli tool to generate reverse shell in various languages and environments written in GO.

Demo

sb-shells demo

How to build

Install in linux sb-shells

go install github.com/secopsbear/sb-shells@latest

Build for linux

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

Reduce the file size

upx --ultra-brute sb-shells

Build for window

Generate an executable sb-shells.exe for windows environment.

env GOOS=windows GOARCH=amd64 go build -o sb-shells.exe -ldflags "-s -w"

Basic commands

$ 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

Find a bug?

If you found an issue or would like to submit an improvement to this project, please submit an issue using the issues tab above.