qweasdzxc17 / pyrit

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

UnboundLocalError: local variable 'cpyrit' referenced before assignment #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
when i type "pyrit -r wlan/capture/my-01.cap -b 00:1F:3F:9F:34:2E -i
wlan/lists/germaster.txt attack_passthrough", i get the error
"UnboundLocalError: local variable 'cpyrit' referenced before assignment".
selftest and benchmark was okay, i am very new to pyrit and my english
isn't also very good. i hope you can hekp me with my problem.

Original issue reported on code.google.com by laurenz....@gmail.com on 24 Jan 2010 at 10:24

GoogleCodeExporter commented 8 years ago
please post a full traceback

Original comment by lukas.l...@gmail.com on 25 Jan 2010 at 7:35

GoogleCodeExporter commented 8 years ago
sorry, what do you mean with traceback?

Original comment by laurenz....@gmail.com on 25 Jan 2010 at 7:31

GoogleCodeExporter commented 8 years ago
the complete error message includes information about where the error occured. 
Please
post the full error log, including all the funny messages....

Original comment by lukas.l...@gmail.com on 26 Jan 2010 at 7:18

GoogleCodeExporter commented 8 years ago
sorry, i now did it with single steps(create essid, import list) and then with 
the
"pyrit -e ... batch" command and it worked fine. are you still interested in 
the error?

Original comment by laurenz....@gmail.com on 26 Jan 2010 at 10:11

GoogleCodeExporter commented 8 years ago
ok, batch-command works, all other do not. after running the batch-command i run
"pyrit -e WLAN-001F3F9F342E -r my-01.cap attack_db" (i have a .cap file from
airodump, in your wiki it's a pcap, where is the difference?). this gives me the
error(same as above):

Pyrit 0.2.5-dev (svn r207) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Connecting to storage at 'file://'...  connected.

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 105, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 137, in new_f
    except cpyrit.util.ScapyImportError:
UnboundLocalError: local variable 'cpyrit' referenced before assignment

Original comment by laurenz....@gmail.com on 26 Jan 2010 at 10:38

GoogleCodeExporter commented 8 years ago
should be fixed in r208

Original comment by lukas.l...@gmail.com on 28 Jan 2010 at 5:11

GoogleCodeExporter commented 8 years ago
ok, its fixed, everything works fine, great job!

Original comment by laurenz....@gmail.com on 30 Jan 2010 at 12:00