http403 / pyrit

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

export_cowpatty with an unknown essid cause a crash in Pyrit #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
festor@sniper-win:~$ pyrit -e BoGnoNo -f prueba.cow export_cowpatty
Pyrit 0.2.3 (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3

Exporting to 'prueba.cow'...
Traceback (most recent call last):
  File "/usr/bin/pyrit", line 710, in <module>
    Pyrit_CLI().init()
  File "/usr/bin/pyrit", line 97, in init
    }.setdefault(commands[0] if len(commands) > 0 else 'help',
self.print_help)()
  File "/usr/bin/pyrit", line 228, in export_cowpatty
    for results in self.essidstore.iterresults(self.options.essid):
  File "/var/lib/python-support/python2.6/cpyrit_util.py", line 307, in
iterresults
    for key in self.iterkeys(essid):
  File "/var/lib/python-support/python2.6/cpyrit_util.py", line 297, in
iterkeys
    raise KeyError, "ESSID not in store."
KeyError: 'ESSID not in store.'

My system:
Ubuntu 9.04
python 2.6
pyrit 0.2.3-dev svn 120

Original issue reported on code.google.com by nebulos...@gmail.com on 18 Jul 2009 at 8:34

GoogleCodeExporter commented 9 years ago
Not exactly a crash but we could handle that more gracefully towards the user 
:-)
Will be fixed in next svn. Thanks for reporting

Original comment by lukas.l...@gmail.com on 18 Jul 2009 at 9:07

GoogleCodeExporter commented 9 years ago
fixed in r121

Original comment by lukas.l...@gmail.com on 18 Jul 2009 at 4:18