namtrac35 / wifite

Automatically exported from code.google.com/p/wifite
0 stars 0 forks source link

Wrong number of passwords in WPA cracking #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The number of passwords reported is minus 1.

[0:00:00] started cracking WPA key for "AP"; using test.txt (0 passwords)
[0:00:01] cracking; 105.92 k/s; 1 keys total;
[0:00:01] cracked "AP"! the key is: "password"

[+] attack is complete: 0 handshakes (1 pre-captured), 1 cracked
[+] session summary:
    -cracked "AP"! the key is "password"

text.txt only contained 1 line with correct password.

Original issue reported on code.google.com by ian.pa...@gmail.com on 23 Sep 2010 at 10:19

GoogleCodeExporter commented 9 years ago
looks like "wc -l" outputs 0 if there's only one line (no new line characters)
I incremented the word count by one to solve this bug.

Fixed in revision 19.

Original comment by der...@gmail.com on 24 Sep 2010 at 12:44

GoogleCodeExporter commented 9 years ago

Original comment by der...@gmail.com on 28 Sep 2010 at 6:42