sb-shells

command module
v0.0.0-...-b7f1d04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

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.

Documentation

Overview

Copyright © 2023 SecOpsBear bear@secopsbear.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL