可能相关的相关:
如何知道我的无线网卡已经启用注入?
注意:作为一名程序员,我主要使用 JavaScript,所以请原谅我的菜鸟身份,如果能得到任何关于如何自己解决这个问题的指导我将不胜感激。
让我从最后开始,看起来是这样的不是在我的驱动器上注入:
$ sudo airmon-ng start wlp3s0
Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!
PID Name
706 avahi-daemon
734 avahi-daemon
765 NetworkManager
1097 wpa_supplicant
4260 dhclient
Process with PID 4260 (dhclient) is running on interface wlp3s0
Interface Chipset Driver
wlp3s0 Unknown ath10k_pci - [phy0]
(monitor mode enabled on mon0)
$ sudo aireplay-ng -9 mon0
17:18:58 Trying broadcast probe requests...
17:19:00 No Answer...
17:19:00 Found 1 AP
17:19:00 Trying directed probe requests...
17:19:00 10:FE:ED:8A:EF:D0 - channel: 6 - 'network name'
17:19:06 0/30: 0%
我上面发布的链接表明这可能是由于使用闭源 wifi 驱动程序造成的:
这是因为您可能使用了默认(闭源)驱动程序,其中许多不支持注入。
您需要使用 compat-wireless 软件包来编译您自己的驱动程序并使用它们……以及修补它们以允许数据包注入。至少,您需要 mac80211.compat08082009.wl_frag+ack_v1.patch
我的驱动程序是ath10k_pci
:(我省略了以太网接口信息)
$ sudo lshw -C network
*-network
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 32
serial: c8:ff:28:00:90:51
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless logical
configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-59-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 ip=192.168.0.108 latency=0 link=yes promiscuous=yes wireless=IEEE 802.11abgn
resources: irq:127 memory:a1000000-a11fffff