revShell is a powerful and versatile tool for generating various types of reverse shells in multiple programming languages. This tool facilitates the quick and efficient generation of reverse shell commands, providing different methods and options for various situations and environments.
revShell supports the generation of reverse shells in the following languages and environments:
- PHP: Use different methods such as
exec,shell_exec,system,passthru,popen,proc_open. - PowerShell: Provides multiple variants, including TLS encrypted connections.
- Python: Compatible with versions 2.x and 3.x, using sockets and
pty. - Ruby: Shells with and without use of
sh. - socat: With TTY support.
- SQLite3 and netcat: Combined use to create reverse shells.
- node.js: Using the
child_processmodule. - Groovy: Uses sockets and
ProcessBuilder. - telnet: Reverse shell using
telnet. - zsh: Using
zmodloadandztcp. - Lua: With
socketandosmodules. - Golang: Reverse shell using
netandos/exec. - Vlang: Using
os.system. - Awk: Using inet sockets.
- Dart: Using
dart:ioanddart:convert. - Crystal: Using
processandsocket.
To install and configure revShell, follow the steps below:
git clone https://github.com/D1se0/revShell.git
cd revShellThe requirements.sh script will install all the necessary dependencies and configure the tool so that it can be used from anywhere in the terminal.
sudo ./requirements.shAfter running the requirements script, verify that the tool is installed correctly:
revShell -hor from the .py script
python3 revShell.py -hrevShell is extremely easy to use. Below are some examples of how to generate different types of reverse shells.
python3 revShell.py -i <HOST_IP> -p <PORT> -t <FORMAT>Generate a Reverse Shell in bash:
python3 revShell.py -i 10.10.11.11 -p 7777 -t 'bash -i'Generate a Reverse Shell in PHP:
python3 revShell.py -i 10.10.11.11 -p 7777 -t 'PHP proc_open'Generate a Reverse Shell in PowerShell:
python3 revShell.py -i 10.10.11.11 -p 7777 -t 'PowerShell #1'Generate a Reverse Shell in Python:
python3 revShell.py -i 10.10.11.11 -p 7777 -t 'Python #1'Generate a Reverse Shell in Ruby:
python3 revShell.py -i 10.10.11.11 -p 7777 -t 'Ruby #1'Other options:
revShell supports many more options and languages. To see all available options:
python3 revShell.py -fhContributions are welcome. Please submit a pull request or open an issue to discuss the changes you would like to make.
This project is licensed under the terms of the MIT License.
