使用nc收到reverse shell后: 12345678910111213141516171819202122#Spawn a shell with pythonpython -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 ncfg #Sets the terminal emulator to linuxexport TERM=xterm#In you local terminal run this to check rows and columnsstty -a #In reverse shell to set right row and colunmsstty rows xx cols xxx 之后便可当正常shell来使用