Open 687766616e opened 5 years ago
$ uname -a
Linux HuiTC716 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 GNU/Linux
windows 10 pro wsl kali
$ sudo ./runtests.sh
test_airmon_start (test_Airmon.TestAirmon) ... ok
test_airodump_weird_characters (test_Airodump.TestAirodump) ... ok
testAnalyze (test_Handshake.TestHandshake) ... [+] Discovered essid "Test Router Please Ignore"
[+] tshark: .cap file contains a valid handshake for a4:2b:8c:16:6b:3a
[+] pyrit: .cap file contains a valid handshake for a4:2b:8c:16:6b:3a (Test Router Please Ignore)
[!] aircrack: .cap file does not contain a valid handshake
ok
testHandshakeAircrack (test_Handshake.TestHandshake) ... FAIL
testHandshakeCowpatty (test_Handshake.TestHandshake) ... skipped 'cowpatty is missing'
testHandshakePyrit (test_Handshake.TestHandshake) ... ok
testHandshakeTshark (test_Handshake.TestHandshake) ... ok
testTargetClients (test_Target.TestTarget)
Asserts target parsing captures clients properly ... ok
testTargetParsing (test_Target.TestTarget)
Asserts target parsing finds targets ... ok
======================================================================
FAIL: testHandshakeAircrack (test_Handshake.TestHandshake)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/huitc/wifite2/tests/test_Handshake.py", line 53, in testHandshakeAircrack
assert(len(hs.aircrack_handshakes()) > 0)
AssertionError
----------------------------------------------------------------------
Ran 9 tests in 18.077s
FAILED (failures=1, skipped=1)
So if I am getting this right you are running kali in a virtualized environment in windows 10. I've tried running wifite2 in a virtual machine before and had limited success even though I granted the guest system direct device permissions on the wifi dongle. Looking though the wifite code your error simply means there is no available wifi interface that airmon can find.
Your best chance would be to run kali from a bootable stick/dual boot with a linux.
Close this issue...