如何使用 Nmap 扫描 VPN

如何使用 Nmap 扫描 VPN

我在 Windows 机器上安装了 Zenmap。如何扫描我的 VPN 网络?我使用的命令是:

nmap -T4 -A -v 192.168.0.1-255

但它因错误而退出:

WARNING: Using raw sockets because ppp0 is not an ethernet device. This probably won't work on Windows.

pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: The system cannot find the device specified. (20).  Will wait 5 seconds then retry.

pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: The system cannot find the device specified. (20).  Will wait 25 seconds then retry.

Call to pcap_open_live(ppp0, 100, 0, 2) failed three times. Reported error: Error opening adapter: The system cannot find the device specified. (20)

QUITTING!

答案1

您必须添加 -e eth0

答案2

安装 WinPcap

您可能需要在 Windows 上使用此功能,因为操作系统本身不处理原始套接字。

相关内容