DreamCat 发表于 2007-3-1 16:07:56

hping 巨强的网络安全工具

应该说是TCP/IP工具,URL:http://www.hping.org。当前版本为 hping3-20051105。好久没更新了~~~
列几个初学教程里的例子:
[*]hping3.0.0-alpha-1> hping resolve www.google.com
66.102.9.104[*]hping3.0.0-alpha-1> hping send {ip(daddr=192.168.1.8)+icmp(type=8,code=0)}
tcpdump: listening on eth0
19:09:16.556695 192.168.1.6 > 192.168.1.8: icmp: echo request
19:09:16.556803 192.168.1.8 > 192.168.1.6: icmp: echo reply[*]foreach i {
    hping send "ip(daddr=192.168.1.8,ttl=$i)+icmp(type=8,code=0)"
}
# hping exec foo.htcl
内部嵌入了TCL解释器。功能够强~不过需要一些 TCL 语言的基础。[*]封包接收(指定接口)
hping3.0.0-alpha-1> hping recv eth0
ip(ihl=0x5,ver=0x4,tos=0x00,totlen=52,id=42833,fragoff=0,mf=0,df=1,rf=0,ttl=54,proto=6,cksum=0xd53a,saddr=192.106.224.132,daddr=192.168.1.6)+\
tcp(sport=6667,dport=52466,seq=2163829654,ack=3105171942,x2=0x0,off=8,flags=a,win=2848,cksum=0x99bd,urp=0)+\
tcp.nop()+tcp.nop()+tcp.timestamp(val=181365875,ecr=104872758)可惜没时间仔细去弄。有兴趣的朋友好好研究下~~

http://wiki.hping.org/33 有几篇文章可以看看。

[ 本帖最后由 DreamCat 于 2007-3-1 16:13 编辑 ]
页: [1]
查看完整版本: hping 巨强的网络安全工具