Skip to main content

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

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

$ python3 revshellgenerator.py
>> ip 192.168.45.19
The IP address has been set as '192.168.45.19'
>> port 4200
The port has been set as '4200'

Alternatively, you can provide the IP/port as script arguments to avoid prompting them later: revshell-generator --ip 192.168.45.19 --port 4200

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

Alternatively, you can provide the IP/port as script arguments and call the get reverse command straightaway:

$ revshell-generator --ip 192.168.45.19 --port 4200
Welcome to the reverse shell generator. Type 'help' or '?' to list available commands.
>> get reverse 0

№№№ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

revshell-generator-1.0.7.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

revshell_generator-1.0.7-py3-none-any.whl (16.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page