Skip to content

martinkubecka/SimpleReverseShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Reverse Shell Generator

🐚 Basic Information

The goal of this script is to easily generate reverse shell payloads with additional options to start a listener and help with the shell stabilization.

A reverse shell is a type of shell session which is initiated from a remote machine. It means that the target is forced to execute code that connects back to our computer. On our own machine, we would set up a listener which would be used to receive the connection.

TCP reverse shell


🏗️ Instalation

$ git clone https://github.com/martinkubecka/Reverse-Shell-Generator.git
$ cd Reverse-Shell-Generator/
$ chmod +x rev_shell_gen.sh

🕹️ Usage

Usage: rev_shell_gen.sh [-h|l|u] -i <LHOST> -p <LPORT> -t <PAYLOAD>

Simple Reverse Shell Generator

Available options:

  -h	Print this help and exit
  -i	The target address
  -p	The target port
  -t	The payload type : bash, python, java, php, perl, ruby, go
  -l	Start a netcat listener
  -u	List commands for a shell upgrade

Examples:

  rev_shell_gen.sh -i 10.0.0.1 -p 4242 -t python
  rev_shell_gen.sh -i 10.0.0.1 -p 4242 -t bash -l -u

Examples

  • Generate bash reverse shell code.

Bash reverse shell

  • Generate python reverse shell code, start a listener on our machine and display shell stabilization helper.

All flags


🤝 Acknowledgements

About

🐚 Generate reverse shell payloads fast and easily.

Topics

Resources

License

Stars

Watchers

Forks

Languages