Shellerator : CLI Tool For The Generation Of Bind & Reverse Shell

Shellerator is a simple command-line tool aimed to help pentesters quickly generate one-liner reverse/bind shells in multiple languages (Bash, Powershell, Java, Python…).

This project is inspired by Print-My-Shell. I just rewrote it and added some options and glitter to it. The lists of reverse and bind shells are not perfect yet. I’ll work on this when I have the time to. I’ll be happy to review pull requests too.

Installation

The install is pretty simple, just clone this git and install the requirements.

git clone https://github.com/ShutdownRepo/shellerator
pip3 install –user -r requirements.txt

Usage

Usage is dead simple too.

Usage: shellerator.py [-h] [-b | -r] [-t TYPE] [-p LPORT] [-i LHOST]

Generate a bind/reverse shell

Optional arguments:
-h, –help show this help message and exit
-l, –list Print all the types of shells shellerator can generate
-b, –bind-shell Generate a bind shell (you connect to the target)
-r, –reverse-shell Generate a reverse shell (the target connects to you)(Default)

Bind shell options:
-t TYPE, –type TYPE Type of the shell to generate (Bash, Powershell, Java…)
-p LPORT, –port LPORT Listener Port

Reverse shell options:
-t TYPE, –type TYPE Type of the shell to generate (Bash, Powershell, Java…)
-i LHOST, –ip LHOST Listener IP address
-p LPORT, –port LPORT Listener Port

Also Read – Authelia : The Single Sign-On Multi-Factor Portal For Web Apps

Without CLI Menus

If you already know what type of shell you want to generate and don’t have time to select the language in the beautiful CLI menu, you can set it with the appropriate -t (or --type) option.

python3 shellerator.py [-r | -b] -t/–type bash -i/–ip 192.168.56.1 -p/–port 1337

To-Do List

Things to Add

Here are some things to add that I have in mind, I’ll work on that asap

  • Add bindshells
  • Add encrypted shells and separate them from bind/rev ?
  • Add some kind of option to help user get info on how to improve shell/tty (rlwrap, stty, ConPty (cf. PayloadsAllTheThings))

Sources

Shells mostly come from the following links

R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

12 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

12 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

2 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago