awaisanwaar / wifite

Automatically exported from code.google.com/p/wifite
GNU General Public License v2.0
0 stars 0 forks source link

WPA Handshake is not recognised, but is being captured #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run wifite and it will say "no handshakes captured" until timeout
2. Run a separate airodump-ng window and it captures the handshake no problems

What is the expected output? What do you see instead?
wifite is either not capturing the handshake or not recognising that one was 
captured in the .cap file

What version of the product are you using? On what operating system?
Ubuntu 10.10 wifite r82

Please provide any additional information below.

Original issue reported on code.google.com by pho...@gmail.com on 2 Dec 2011 at 12:51

GoogleCodeExporter commented 8 years ago
Und ? Any news ? :-)

Original comment by spindiz...@gmail.com on 12 Dec 2011 at 3:11

GoogleCodeExporter commented 8 years ago
Hello Guys,
 I am using BT4,BT5-R1 and Ubuntu all as HDD installed Boot versions.
 I found Wifite was not detecting Handshake on capture file while using BT5(BT5 & also on BT5-R1).

Problem:
 WPA target(s) found and added to the list, deauth packets generated and sent but auth packets are not noticed being captured.

Trials:
1. I tried launching Airodump-ng in paralel terminal, and it did capture the 
auth packets.
2. I tried analaysing the capture file(of Wifite) seperetely with Pyrit while 
Wifite was running and the capture file did have handshake(s).
3. I examined output of Pyrit on seperete terminal(last part of trial number 2).

Conclusion:
Wifite<--BT5-->Pyrit they were having just slight version incompatibility 
communication problem. Wifite was checking up on capturefile using Pyrit if 
there were any usable handshake or not. Pyrit reported there are usable 
handshake(s) and Wifite failed to read positive output because Pyrit said 
'handshake found' while Wifite was expecting word strings 'good' or 'workable' 
(May be different/old version of Pyrit says these?).

Suggesation:
 I suggest not to remove replace "good"/"workable" with "handshake found" but the addition of "handshake found" so Wifite's copy will be backwards compatible with other version(s) of Pyrit if used.

Solution for Wifite r82:
(For any other versions line number may differ, please read and find and 
replace below line for correct solution.)
Line #3105=
if line.find(', good, ') != -1 or line.find(', workable, ') != -1 or 
line.find(', bad, ') != -1:

Replace with=
if line.find(', good, ') != -1 or line.find(', workable, ') != -1 or 
line.find('handshake found') != -1 or line.find(', bad, ') != -1:

I am human:
 If any of above words needs any short of correction or amendment, please do tell. I have a small a brain (I think :P) . 

Original comment by shaktis...@sankhla.org on 23 Dec 2011 at 9:28

GoogleCodeExporter commented 8 years ago
Thank you, shaktisinh, for the suggestion and diff. 

I have made the changes you suggested, they are available in r84. 

Thanks again!

Original comment by der...@gmail.com on 1 Feb 2012 at 10:26