derv82 / wifite2

Rewrite of the popular wireless network auditor, "wifite"
GNU General Public License v2.0
6.45k stars 1.32k forks source link

wifite issue #224

Open blackbird132 opened 5 years ago

blackbird132 commented 5 years ago

root@kali:~# wifite . .
.´ · . . · . wifite 2.2.5 : : : (¯) : : : automated wireless auditor . · /¯\ ´ · .´ https://github.com/derv82/wifite2 /¯¯¯\ ´

[+] Checking airmon-ng...
[!] airmon-ng did not find any wireless interfaces [!] Make sure your wireless device is connected [!] See http://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/python2.7/dist-packages/wifite/main.py", line 93, in entry_point [!] wifite.start() [!] File "/usr/lib/python2.7/dist-packages/wifite/main.py", line 53, in start [!] Configuration.get_monitor_mode_interface() [!] File "/usr/lib/python2.7/dist-packages/wifite/config.py", line 129, in get_monitor_mode_interface [!] cls.interface = Airmon.ask() [!] File "/usr/lib/python2.7/dist-packages/wifite/tools/airmon.py", line 299, in ask [!] raise Exception('airmon-ng did not find any wireless interfaces') [!] Exception: airmon-ng did not find any wireless interfaces

[!] Exiting

Czechball commented 5 years ago

Please post output of the ip addr command.

blackbird132 commented 5 years ago

root@kali:~# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 08:6d:41:db:96:46 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic noprefixroute eth0 valid_lft 84060sec preferred_lft 84060sec inet6 fe80::a6d:41ff:fedb:9646/64 scope link noprefixroute valid_lft forever preferred_lft forever 4: wlan1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether ee:71:86:3b:75:da brd ff:ff:ff:ff:ff:ff 5: hwsim0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ieee802.11/radiotap 12:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 6: wlan0mon: <BROADCAST,ALLMULTI,PROMISC,NOTRAILERS,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000 link/ieee802.11/radiotap 02:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

RaduNico commented 5 years ago

For whatever reason wifite did not detect the interface, despite wlan0mon being listed in your output.

Wifite tries to detect the current wifi interfaces by using 'airmon-ng'. If this happens make sure you have the latest version of aircrack installed. If anybody encounters this issue post the output of 'sudo airmon-ng' to assist the debugging of this issue.

aminesated commented 4 years ago

Hi RaduNico, this is my airmon-ng output

HY Interface Driver Chipset

thejonasmacedo commented 3 years ago

Did anyone find the answer? The only thing that is appearing with "ifconfig" is this: eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.56.1 netmask 255.255.255.0 broadcast 192.168.56.255 inet6 fe80::5154:9fc6:7c15:5abc prefixlen 64 scopeid 0xfd<compat,link,site,host> ether 0a:00:27:00:00:08 (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

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0xfe<compat,link,site,host> loop (Local Loopback) 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

wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.107 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::b99e:584e:95de:a688 prefixlen 64 scopeid 0xfd<compat,link,site,host> ether 5c:cd:5b:73:3b:4c (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

But airmon-ng don't find them, I don't know why, if someone have an answer about this issues please contact, I'll be gratefull.