我有 Ubuntu 16.04 作为在 Windows 主机上运行的来宾 VM。我插入了一个 USB wifi 连接器,这在我的虚拟机中可见并正在工作
现在,我正在尝试运行命令“sudo airmon-ng start wifi0”,其中 wifi0 是我的界面名称
每次我这样做,我都会得到一个错误
> sudo airmon-ng start wifi0
>
> 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 run 'airmon-ng check kill'
>
> PID Name 962 NetworkManager 973 avahi-daemon 1002
> avahi-daemon 1517 wpa_supplicant 2389 dhclient
>
> PHY Interface Driver Chipset
>
> phy1 wifi0 rtl8192cu Realtek Semiconductor Corp. RTL8192CU 802.11n
> WLAN Adapter cat: /sys/class/ieee80211/phy1/device/net/wifi0mon/type:
> No such file or directory
>
> Newly created monitor mode interface wifi0mon is *NOT* in monitor
> mode. Removing non-monitor wifi0mon interface...
它创建了一个名为“rename4”的接口,但它在wireshark中无论如何都不起作用
iwconfig
rename4 IEEE 802.11bgn Mode:Monitor Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
wifi0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
lo no wireless extensions.
知道如何在监视器模式下创建界面吗?我对这一切都很陌生,所以这很令人困惑。
提前致谢
首先,重新启动系统以清除所有内容。
接下来,打开终端 ( ctrl++ alt)f1并运行以下命令:
请注意,虽然这不会创建新界面,但通过将现有界面置于监控模式,它仍然可以达到预期的效果。
wlan0