# ShellGen | Reverse Shell Generator

**URL:** <https://onehack.st/t/shellgen-reverse-shell-generator/95306>\
**Category:** Tools & Scripts\
**Tags:** tools\
**Created:** [July 6, 2020, 11:09am UTC](https://onehack.st/t/shellgen-reverse-shell-generator/95306 "2020-07-06T11:09:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shayla](https://onehack.st/user_avatar/onehack.st/shayla/32/174870_2.png) [@Shayla](https://onehack.st/u/Shayla)\
**Post date:** [July 6, 2020, 11:09am UTC](https://onehack.st/t/shellgen-reverse-shell-generator/95306/1 "2020-07-06T11:09:39Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/2/7/2759310074fdb85bfb4f1794956f65f7e38e912e.png)

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

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

**Usage**  
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 10.10.12.3 --lport 1234 --shell netcat`

To request an improvement or new feature:

- Create an [issue](https://github.com/realagentwhite/ShellGen/issues/new) and mark as `enhancement`

For issues:

- Create an [issue](https://github.com/realagentwhite/ShellGen/issues/new) and mark as `bug`

## GitHub:

[https://github.com/thejoker3000/ShellGen](https://github.com/thejoker3000/ShellGen)
