derv82 / wifite

3.24k stars 749 forks source link

Wifite does not work #120

Open pabeka opened 6 years ago

pabeka commented 6 years ago

i get this error message:

`root@kali:~# wifite

.;' ;, .;' ,;';, ;, WiFite v2 (r87) .;' ,;' ,;';, ;,;,
:: :: : ( ) : :: :: automated wireless auditor ':. ':. ':. /_\ ,:' ,:' ,:'
':. ':. /_\ ,:' ,:' designed for Linux ':. /___\ ,:'
/ \

[+] scanning for wireless devices... [+] enabling monitor mode on wlan0... done Traceback (most recent call last): File "/usr/bin/wifite", line 3462, in engine.Start() File "/usr/bin/wifite", line 1313, in Start self.RUN_CONFIG.THIS_MAC = get_mac_address(iface) # Store current MAC address File "/usr/bin/wifite", line 1864, in get_mac_address proc = Popen(['ifconfig', iface], stdout=PIPE, stderr=DN) File "/usr/lib/python2.7/subprocess.py", line 390, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory `

ztenma commented 6 years ago

It's likely you don't have ifconfig installed in your system, as it has been deprecated despite being being widely used. Either install it (find the corresponding package for your distribution, perhaps net-tools or something like that), or change source code to use the newer "ip" command. Maybe dev team should provide a fallback between ip/ifconfig for it to work on all distros. Duplicate of #111 I think... Search already existing issues before adding new ones.