Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

sameera-madushan/Print-My-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

⚠️ Project Status: Archived

This repository is now archived and is no longer actively maintained.

This project started as a small personal automation script I built to generate reverse shells while playing CTF challenges. Although it’s no longer maintained, it remains available as a reference.

It’s great to see ideas from this project inspire other community tools such as Shellerator.

Thank you to everyone who starred, forked, and supported this project ❤️

Print-My-Shell

"Print My Shell" is a python script, wrote to automate the process of generating various reverse shells based on PayloadsAllTheThings and Pentestmonkey reverse shell cheat sheets.

Using this script you can easily generate various types of reverse shells without leaving your command line. This script will come in handy when you are playing CTF like challenges.

iaa

Available Shell Types

  • Bash
  • Perl
  • Ruby
  • Golang
  • Netcat
  • Ncat
  • Powershell
  • Awk
  • Lua
  • Java
  • Socat
  • Nodejs
  • Telnet
  • Python

Git Installation

# clone the repo
$ git clone https://github.com/sameera-madushan/Print-My-Shell.git

# change the working directory to Print-My-Shell
$ cd Print-My-Shell

Usage

usage: shell.py [-h] [-i IPADDR] [-p PORTNUM] [-t TYPE] [-l] [-a]

optional arguments:
  -h, --help            show this help message and exit
  -i IPADDR, --ip IPADDR
                        IP address
  -p PORTNUM, --port PORTNUM
                        Port number
  -t TYPE, --type TYPE  Type of the reverse shell to generate
  -l, --list            List all available shell types
  -a, --all             Generate all the shells

References

Payloads All The Things Reverse Shell Cheat Sheet

Pentestmonkey Reverse Shell Cheat Sheet