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

admin 2017年4月29日13:16:24评论468 views字数 1708阅读5分41秒阅读模式
摘要

作者:[email protected] 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)

作者:[email protected]

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完美解决

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2017年4月29日13:16:24
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   windows 系统下nmap扫描报错的解决方法 'shttps://cn-sec.com/archives/44602.html

发表评论

匿名网友 填写信息