1. My environment is Windows XP sp3. When I use nmap to scan the Internet, I am prompted
Pcap_open_live (ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter:
The system cannot find the specified device. (20). Will wait 5 seconds then retry.
Looking at the nmap manual, Microsoft has disabled raw sockets since Windows XP SP2. Therefore, you need to add the-unprivileged option when scanning the internet.
But it still does not support-sS scanning. If you scan the IP address of an Intranet interface, this problem does not occur.
2. When you dial in to the peer Intranet through VPN, if you use NMAP to scan the peer Intranet host, a prompt will be displayed.
Pcap_open_live (ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter:
The system cannot find the specified device. (20). Will wait 5 seconds then retry.
In this case, you only need to use the-e parameter to specify the NIC. The command is as follows:
C:> nmap-e eth0 192.168.1.1-254-script = smb-brute.nse