http403 / pyrit

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

batchprocess interupt #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. installed pyrit via trunk
2. added essid and wordlistfile
3. typed: pyrit batch

What is the expected output? What do you see instead?
i expect that pyrit writes the .db. instead i get this msg:

p:~$ pyrit batch
Pyrit 0.2.4-dev (svn r163) (C) 2008, 2009 Lukas Lueg
http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3

Working on ESSID 'FRITZ!Box WLAN 3131'
Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 114, in
initFromArgv
    }.setdefault(commands[0] if len(commands) > 0 else 'help',
self.print_help)()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 460, in
batchprocess
    (idx+1, len(self.passwdstore), 100.0 * (idx+1) / len(self.passwdstore),
UnboundLocalError: local variable 'idx' referenced before assignment
--

it seems that pyrit has problems with pyhton?
im using --> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)

What version of the product are you using? On what operating system?
newest trunk (Pyrit 0.2.4-dev (svn r163))

Please provide any additional information below.

it worked with < svn r163

Original issue reported on code.google.com by stephan....@googlemail.com on 12 Aug 2009 at 8:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r164.

Original comment by lukas.l...@gmail.com on 12 Aug 2009 at 7:16