Boms0 / wifite

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

field contain less elements #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run python ./wifite.py
2. try to capture an WPA hash
3.

What is the expected output? What do you see instead?
The program complains that fields[9][0] doesn't exists.

What version of the product are you using? On what operating system?
Version 85

Please provide any additional information below.

a possible solution to the line:
msg = fields[9][0]      # The message number (1, 2, 3, or 4)

would be

msg = fields[-1][0]      # The message number (1, 2, 3, or 4)

Original issue reported on code.google.com by hannan.s...@gmail.com on 9 Feb 2012 at 5:10

GoogleCodeExporter commented 9 years ago
I am using Aircrack-ng v1.1 with python 2.7.2

I can't explain why at my computer the length of field was only 9 elements, but 
"[-1]" is a general solution, so it suppose to work in any case.

Original comment by hannan.s...@gmail.com on 9 Feb 2012 at 5:19