1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| #Spawn a shell with python python -c 'import pty;pty.spawn("/bin/bash")'
#Spawn a shell without python /usr/bin/script -qc /bin/bash /dev/null
#Ctrl + Z to set nc to background process
# stty raw -echo
#Back to nc fg
#Sets the terminal emulator to linux export TERM=xterm
#In you local terminal run this to check rows and columns stty -a
#In reverse shell to set right row and colunms stty rows xx cols xxx
|