windows 系统下nmap扫描报错的解决方法

作者:Sh@dow

Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-31 17:20 中国标准时间
pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: 系统找不到指定的设备
。 (20). Will wait 5 seconds then retry.
pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: 系统找不到指定的设备
。 (20). Will wait 25 seconds then retry.
Call to pcap_open_live(ppp0, 100, 0, 2) failed three times. Reported error: Error opening adapter:
系统找不到指定的设备。 (20)

There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel
with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile your kernel with Berkeley Pac
ket Filter support. If you are getting No such file or directory, try creating the device (eg cd /d
ev; MAKEDEV <device>; or use mknod).
*WINDOWS: Nmap only supports ethernet interfaces on Windows for most operations because Microsoft d
isabled raw sockets as of Windows XP SP2. Depending on the reason for this error, it is possible th
at the –unprivileged command-line argument will help.
SOLARIS: If you are trying to scan localhost and getting ‘/dev/lo0: No such file or directory’, com
plain to Sun. I don’t think Solaris can support advanced localhost scans. You can probably use “-P
N -sT localhost” though.

因为wincap安装的时候默认的是识别你本地的网卡型号的, 一旦播上VPN之后,对于ppp0的识别就傻逼了,在网上一直没找到解决办法,最后开错误提示竟然已经给出了答案

WINDOWS: Nmap only supports ethernet interfaces on Windows for most operations because Microsoft d
isabled raw sockets as of Windows XP SP2. Depending on the reason for this error, it is possible th
at the –unprivileged command-line argument will help.
SOLARIS: If you are trying to scan localhost and getting ‘/dev/lo0: No such file or directory’, com
plain to Sun. I don’t think Solaris can support advanced localhost scans. You can probably use “-P
N -sT localhost” though

注意看最后一句You can probably use “-PN -sT localhost” though

ok完美解决

相关日志

楼被抢了 8 层了... 抢座Rss 2.0或者 Trackback

  • M.坏男

    关注下这个,需要解决

  • 飘香儿

    干什么用的,太专业看不懂

  • 卡西姆

    NMAP的一些应用吧,这些·······

  • poruin

    系统找不到指定的设备
    还有一种可能是,电脑上没有安装,或者没有正确安装winpcap

  • misswe

    在使用nmap的时候

    扫描每一个端口都是1-65535全部open

    测试系统是xp sp3和BT4

    请问这到底是什么回事额?

  • 谢谢

    谢谢 已解决

  • hahaha

    但是这个没有真正解决问题,除了使用-Pn -sT,然后其他的选项和功能都没有办法正常工作。。。。。但是按照说法中使用–unprivileged 选项,windows提示说是没有root权限,即使使用管理员权限也是不行。。。。请问楼主有没有解决这个问题?

发表评论