Cant seem to get a stable shell to work(HELPPP!!!!)
文章描述了作者在尝试通过 `nc` 和 `python` 命令建立反向 shell 时遇到的问题:执行 `stty raw -echo` 后无法输入任何内容,并且屏幕只显示控制 M 符号。作者希望找到解决方法以稳定 shell 或修复此问题。 2025-10-17 12:14:41 Author: www.reddit.com(查看原文) 阅读量:3 收藏

└─$ nc -lvnp 1234

listening on [any] 1234 ...

connect to [10.9.1.109] from (UNKNOWN) [10.10.218.77] 60394

$ python -c "import pty; pty.spawn ('/bin/bash')"

www-data@ip-10-10-218-77:/$ ^Z

zsh: suspended nc -lvnp 1234

┌──(uknown㉿kali)-[~/Downloads/shells]

└─$ stty raw -echo

┌──(uknown㉿kali)-[~/Downloads/shells]

└─$ fg

[1] + continued nc -lvnp 1234

This is the exact commands i use which work for most people , once I "stty raw -echo" I cant enter anything anymore, everytime i enter it just gives me the control M symbol and doesnt do anything. I cant even control x or c to quit. I would have to close the entire terminal tab and start a new one

Im not sure why this is the case and need some help if anyone knows another way to stabalize the shell or a fix please let me know


文章来源: https://www.reddit.com/r/HowToHack/comments/1o8znpe/cant_seem_to_get_a_stable_shell_to_workhelppp/
如有侵权请联系:admin#unsafe.sh