Reverse Shell
One-Liners
Bash
Netcat
Sometimes one one-liner won't work, but another will. Two great cheatsheets are pentestmonkey and highoncoffee.
Generate Payload
Msfvenom
Windows reverse shell with encoder
Shell Cushions
If the reverse shell is terminal-based some measures can be taken to make it more comfortable to use.
Spawn TTY
Python
Additional ways to spawn TTY.
Auto-Completion
Background the process with Ctrl+z.
Execute this to disable echoing and send I/O straight through without processing.
return to the process with fg + Enter x2.
Last updated