Skip to content

chrispetrou/shellback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shellback: reverse shell generator

GPLv3 license Known Vulnerabilities


Shellback 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.x and
  • the /py3_version/shellback.py is compatible with python3.x.
► 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:

To install the requirements:

pip install -r requirements.txt --upgrade --user

💭 Contributions & Feedback

Feedback and contributions are welcome. If you find any bug or have a feature request feel free to open an issue, and as soon as I review it I'll try to fix it.

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.

Credits

License

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