Reverse Shell Tricks
Here is a way to make your reverse shell even better
Partially interactive Bash shell
python -c 'import pty;pty.spawn("/bin/bash")'
#Same for python3
Fully Interactive Bash shell
ctrl + z (backgrounds the session)
stty raw -echo (Tells terminal to pass keyboard shortcuts to shell)
run command 'fg' to bring nc back to foreground
Last updated
Was this helpful?