nmap扫描时的2个小经验

From:Mickey

 1.我肉鸡的环境是Windows XP sp3,在使用nmap扫描外网的时候,提示我

pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter:
系统找不到指定的设备。 (20).  Will wait 5 seconds then retry.

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


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


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

pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter:
系统找不到指定的设备。 (20).  Will wait 5 seconds then retry.

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

C:\>nmap  -e eth0 192.168.1.1-254 –script=smb-brute.nse


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章