derv82 / wifite2

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

Script is not finding the MAC address for the interface. #6

Closed adde88 closed 7 years ago

adde88 commented 8 years ago

Attacking a WEP network fails with this message:

+ starting attacks against 00:24:01:XX:XX:X (Internett1412) [+] attempting fake-authentication with 00:24:01:XX:XX:XX... success

[!] Error: Could not find the mac address for wlan1mon

[!] Exiting

However, no problems with WPA/WPS networks.

adde88 commented 8 years ago

A temporarily solution for me is setting the MAC statically by editing ./wifite2/py/AttackWEP.py @ line: 52

client_mac = "c4:e9:84:xx:xx:xx"

I suspect something might be wrong with the funtion: Interface.get_mac()

Le-NooNz commented 8 years ago

I have the same problem (in Kali rolling release) As it happens, when the if goes in monitor mode, the mac addr became something like this : "AA-BB-CC-DD-EE-FF-00-00-00-00-00-00-00-00-00-00" So the regex in the Interface.get_mac() can't find what's asked from it.

Sadly i have no idea how to fix it :(

thesle3p commented 8 years ago

Can confirm.

derv82 commented 7 years ago

I also encountered this problem. Should be fixed in the commit above.