不能su交互的解决方法
用nst的反弹后门连上nc后不能su交互,报错如下:
standard in must be a tty
解决方法:
python -c ‘import pty; pty.spawn(“/bin/sh”)’
得到shell就可以su进行交互了。
用nst的反弹后门连上nc后不能su交互,报错如下:
standard in must be a tty
解决方法:
python -c ‘import pty; pty.spawn(“/bin/sh”)’
得到shell就可以su进行交互了。