- Make sure shell is bash:
python3 -c 'import pty;pty.spawn("/bin/bash")'
- Send reverse shell to background:
CTRL + Z
- Change terminal setting:
stty raw -echo
- Send reverse shell to foreground:
fg
- Reset terminal:
reset
- When prompt terminal type, use
xterm
- (Optional) change terminal row and width, use
stty rows 75 cols 250
Last active
February 21, 2021 10:09
-
-
Save PotatoMaster101/c2f26c265362a598e99872a861a9c3da to your computer and use it in GitHub Desktop.
Steps to upgrade a reverse shell to a full TTY shell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment