danhuynh0803 / wifite

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

Program crashes if the entered network number is out of list range. #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Do you have any idea what may have caused this bug?  Guesses are helpful!
The entered network number is out of list range.

What operating system are you running? Backtrack 5 R2? 32 or 64 bit?
Blackbuntu?
Kubuntu 12.10 (64 bit)

What version of the wifite are you using?
2.0r85

Please provide any additional information below.  A paste of the error is
very helpful!

Only one wireless network was found, but entering 2.

[+] select target numbers (1-1) separated by commas, or 'all': 2
Traceback (most recent call last):
  File "wifite.py", line 2966, in <module>
    main()
  File "wifite.py", line 255, in main
    (targets, clients) = scan(iface=iface, channel=TARGET_CHANNEL)
  File "wifite.py", line 1255, in scan
    victims.append(targets[int(r) - 1])
IndexError: list index out of range

=> The program crashes with a python error message.

Regards,
Ettore Atalan

Original issue reported on code.google.com by Atalantt...@gmail.com on 26 Jan 2013 at 4:27