Gurguii / Reverse-shell-Generator

Generates a cmd reverse shell, allows URL/BASE64 encoding and copies the command in your clipboard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This python program aims to create reverse shell commands with a fast syntax while also copying output to clipboard.

Setup

Clone the repository

  sudo git clone https://github.com/Gurguii/Reverse-shell-Generator

Get into the project's directory

    cd Reverse-shell-Generator

Install requirements

    pip3 install -r requirements.txt

Give execute permissions

This is not required if you're going to execute the script like 'python3 reverse ..."

    chmod +x reverse

Usage

    ./reverse <shell-type> <options>

or

    ./reverse <informative-option>

Options

-h / --help - Displays help message and exits
-list / --list - Lists different commands available for given shell type
-listall / --listall - Lists every shell type and commands available

-lp / --lport - Listening port, default 4444
-lh / --lhost - Listening host, IpAddr(X.X.X.X) or Iface(E.g eth0), default localhost

b64 - B64 encodes resulting command
url - Url encodes resulting command

Examples

Create a base64 encoded bash shell with desired LHOST and LPORT

./reverse bash -lh <LHOST> -lp <LPORT> b64
  • You will be prompted available bash commands, choose w.e you like and voilĂ 

Create an specific bash reverse shell with desired LHOST, LPORT, and url encoded

./reverse bash=<name> -lh <LHOST> -lp <LPORT> url
  • Here you won't be prompted since you are specificly choosing the command with

About

Generates a cmd reverse shell, allows URL/BASE64 encoding and copies the command in your clipboard.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%