/shellback

reverse shell generator

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

shellback

GPLv3 license Known Vulnerabilities

This is a standalone python script to automate the process of generating a reverse-shell command like those described in pentestmonkey blog:

Compatibility: The shellback.py script is compatible with python 2.7 and the /py3_version/shellback.py is compatible with python3.5.

Examples:

Supported reverse shells (-v option)

default: bash

Reverse shells
bash
perl
python
php
ruby
nc1 (nc version 1)
nc2 (nc version 2)
java

Supported shell types (-s option)

default: /bin/sh

In some cases it is possible to specify the shell type. The supported shell-types are the following:

Shell types
sh
zsh
ksh
tcsh
bash
dash

This script was originally part of the scripts in my pypentesting-repository, but since I tend to use a lot on CTF-like challenges and pentesting labs I decided to create a separate repository for it.

Requirements:

Note: To install the requirements:


  • python 2.7: pip install -r requirements.txt --upgrade --user
  • python 3.5: pip3 install -r requirements.txt --upgrade --user

Disclaimer

This tool is only for testing and academic purposes and can only be used where strict consent has been given. Do not use it for illegal purposes! It is the end user’s responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this tool and software.

License

This project is licensed under the GPLv3 License - see the LICENSE file for details