Exploitation Tools

ShellGen – Reverse shell generator

ShellGen - Reverse shell generator


This is a simple script that will generate a specific or all shellcodes for CTFs using the VPN IP address on tun0 (the IPv4).

Update has been made from sys library to argparse library (done in version 0.8)

For help:

  • shellgen -h
  • shellgen --help

If you want to skip update and just get the reverse shell, add --no-update to your commands and it will skip it.
To update:

  • ./shellgen.py -u
  • ./shellgen.py --update

List shells available:

  • shellgen --shells
  • shellgen -ls

An example for using:

  • shellgen --lhost --lport 1234 --shell netcat

To request an improvement or new feature:

  • Create an issue and mark as enhancement

For issues:

  • Create an issue and mark as bug

About the author

Mazen Elzanaty

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: