windows 系统下nmap扫描报错的解决方法
作者:Sh@dow
Starting Nmap 4.76 (?http://nmap.org?) at 2009-03-31 17:20 中國(guó)標(biāo)準(zhǔn)時(shí)間
pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter:?系統(tǒng)找不到指定的設(shè)備
。 (20). Will wait 5 seconds then retry.
pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: 系統(tǒng)找不到指定的設(shè)備
。 (20). Will wait 25 seconds then retry.
Call to pcap_open_live(ppp0, 100, 0, 2) failed three times. Reported error: Error opening adapter:
系統(tǒng)找不到指定的設(shè)備。 (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 dont think Solaris can support advanced localhost scans. You can probably use "-P
N -sT localhost" though.
因?yàn)閣incap安裝的時(shí)候默認(rèn)的是識(shí)別你本地的網(wǎng)卡型號(hào)的, 一旦播上VPN之后,對(duì)于ppp0的識(shí)別就傻逼了,在網(wǎng)上一直沒找到解決辦法,最后開錯(cuò)誤提示竟然已經(jīng)給出了答案
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 dont 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完美解決
?
總結(jié)
以上是生活随笔為你收集整理的windows 系统下nmap扫描报错的解决方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用Python写一个微信防撤回神器
- 下一篇: C/S系统快速开发框架(C#+Winfo