nmap扫描时的2个小经验

[复制链接]
查看244 | 回复0 | 2012-4-1 19:18:11 | 显示全部楼层 |阅读模式
1.我肉鸡的环境是WindowsXPsp3,在使用nmap扫描外网的时候,提示我



pcap_open_live(ppp0,100,0,2)FAILED.Reportederror:Erroropeningadapter:

系统找不到指定的设备。(20).Willwait5secondsthenretry.



看了看nmap手册,原来微软从WindowsXPSP2以后就禁止了rawsockets,所以在扫描外网的时候,需要添加–unprivileged选项。







但是还是不支持-sS扫描。如果是扫描内网接口的IP,则不会有此问题。







2.当通过VPN拨入对方的内网的时候,如果使用NMAP扫描对方的内网主机,也会提示



pcap_open_live(ppp0,100,0,2)FAILED.Reportederror:Erroropeningadapter:

系统找不到指定的设备。(20).Willwait5secondsthenretry.



此时我们只需要使用-e参数指定网卡就可以了。命令如下:



C:\>nmap-eeth0192.168.1.1-254–script=smb-brute.nse
 

*
发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则