rkgudboy / wifite

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

Crash when entering a number greater than number of APs #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On r85, when selecting which APs to attack, entering a number greater than the 
number of APs will cause a crash.

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

Original issue reported on code.google.com by pickeri...@gmail.com on 24 Jun 2012 at 8:09