【wifite】Exception: airmon-ng did not find any wireless interfaces

# wifite
   .               .    
 .´  ·  .     .  ·  `.  wifite2 2.6.6
 :  :  :  (¯)  :  :  :  a wireless auditor by derv82
 `.  ·  `\ ´  ·  .´  maintained by kimocoder
   `     /¯¯¯\     ´    https://github.com/kimocoder/wifite2

 [!] Warning: Recommended app hcxdumptool was not found. install @ apt install hcxdumptool
 [!] Warning: Recommended app hcxpcapngtool was not found. install @ apt install hcxtools
 [!] Conflicting processes: dhclient (PID 533), NetworkManager (PID 627), dhclient (PID 891), wpa_supplicant (PID 1275)
 [!] If you have problems: kill -9 PID or re-run wifite with --kill

 [+] Checking airmon-ng...                                                      
 [!] airmon-ng did not find any wireless interfaces
 [!] Make sure your wireless device is connected
 [!] See https://www.aircrack-ng.org/doku.php?id=airmon-ng for more info

 [!] Error: airmon-ng did not find any wireless interfaces

 [!] Full stack trace below

 [!]    Traceback (most recent call last):
 [!]    File "/usr/lib/python3/dist-packages/wifite/__main__.py", line 104, in entry_point
 [!]        wifite.start()
 [!]    File "/usr/lib/python3/dist-packages/wifite/__main__.py", line 57, in start
 [!]        Configuration.get_monitor_mode_interface()
 [!]    File "/usr/lib/python3/dist-packages/wifite/config.py", line 228, in get_monitor_mode_interface
 [!]        cls.interface = Airmon.ask()
 [!]                        ^^^^^^^^^^^^
 [!]    File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 300, in ask
 [!]        raise Exception('airmon-ng did not find any wireless interfaces')
 [!]  Exception: airmon-ng did not find any wireless interfaces

 [!] Exiting

以上为异常出现的问题

解决办法
1、下载文件
https://download.csdn.net/download/qq_36286161/88131435
2、解压&&安装

tar -jxvf compat-wireless-2010-06-26-p.tar.bz2
cd compat-wireless-2010-06-26-p/
make unload
make load

3、查看安装状态

┌──(root㉿kali)-[/home/erlands/下载/compat-wireless-2010-06-26-p]
└─# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.128  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 f********** prefixlen 64  scopeid 0x20<link>
        ether 00***********  txqueuelen 1000  (Ethernet)
        RX packets 13968  bytes 13040292 (12.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8190  bytes 1016152 (992.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 28  bytes 1680 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28  bytes 1680 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether d6:6c:*******  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether ea:c8:******** txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

┌──(root㉿kali)-[/home/erlands/下载/compat-wireless-2010-06-26-p]
└─# airmon-ng

PHY	Interface	Driver		Chipset

phy0	wlan0		mac80211_hwsim	Software simulator of 802.11 radio(s) for mac80211
phy1	wlan1		mac80211_hwsim	Software simulator of 802.11 radio(s) for mac80211

修复成功
【wifite】Exception: airmon-ng did not find any wireless interfaces_第1张图片

你可能感兴趣的:(linux,linux)