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