AdamKnube / pyrit

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

Enter one-line summary #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

I use Backtrack 4 R1 installed od HDD and I've got problem with the latest 
pyrit 3.0 cuda. After compilation and instalation of this software I did those 
steps:

root@bt:/media/MAYDAY/pyrit/test# pyrit list_cores
Pyrit 0.3.0 (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

The following cores seem available...
#1:  'CUDA-Device #1 'GeForce 9600 GSO 512''
#2:  'CPU-Core (SSE2)'

root@bt:/media/MAYDAY/pyrit/test# pyrit selftest
Pyrit 0.3.0 (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Cores incorporated in the test:
#1:  'CUDA-Device #1 'GeForce 9600 GSO 512''
#2:  'CPU-Core (SSE2)'

Running selftest...

All results verified. Your installation seems OK.

Then, I've decided to check my file called wynik-01.cap with WPA handshake 
captured on it and that what happened:

root@bt:/media/MAYDAY/WPA# pyrit -r wynik*.cap analyze
Pyrit 0.3.0 (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 110, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 142, in new_f
    import cpyrit.pckttools
  File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 386, in <module>
    class PcapDevice(_cpyrit_cpu.PcapDevice):
AttributeError: 'module' object has no attribute 'PcapDevice'
root@bt:/media/MAYDAY/WPA#    

after that I've tried doing test from the archive and the result was the same:

root@bt:/media/MAYDAY/pyrit/test# pyrit -r wpapsk-linksys.dump.gz analyze
Pyrit 0.3.0 (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 110, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 142, in new_f
    import cpyrit.pckttools
  File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 386, in <module>
    class PcapDevice(_cpyrit_cpu.PcapDevice):
AttributeError: 'module' object has no attribute 'PcapDevice'
root@bt:/media/MAYDAY/pyrit/test#    

And that's my problem :/ I'can't do anything with it and I've got no clue what 
to do :/

Original issue reported on code.google.com by vanban...@poczta.onet.pl on 15 Sep 2010 at 12:52

GoogleCodeExporter commented 9 years ago
You are mixing code from 0.3.0 and 0.3.1-dev. In 0.3.0, the object PcapDevice 
is not defined, yet your pckttools-module tries to access it.

Do a clean install from either backtrack's repository or from svn

Original comment by lukas.l...@gmail.com on 15 Sep 2010 at 1:14