Export to GitHub

pyrit - issue #288

Segmentation fault so far/backtrack 4 not listing Networks clients


Posted on Mar 30, 2011 by Happy Bird

What steps will reproduce the problem? 1.Run pyrit attack_passthrough

What is the expected output? What do you see instead?

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

Parsing file 'belkin.3380-01.cap' (1/1)... Parsed 7 packets (7 802.11-packets), got 3 AP(s)

Segmentation fault so far; 20289 PMKs per second.

What version of the product are you using? On what operating system? V299

Backtrack r1,r2

The following cores seem available...

1: 'CUDA-Device #1 'GeForce GTX 465''

2: 'CPU-Core (SSE2)'

Comment #1

Posted on Mar 30, 2011 by Happy Bird

As you can see above there are no 'Network-Clients' listed on bt4??? how do i fix this? thank you

Comment #2

Posted on Mar 30, 2011 by Happy Dog

Are you getting a core file with the segmentation fault? If so, it will be easier to debug the core file if you perform this command first:

ulimit -unlimited

...and then re-run the scenario the produces the seg-fault. I have seen segmentation faults for a long time on my box, and this helps a bit in debugging them. The code owner, Lukas, may be able to find the problem faster, if he has time to look into it.

Comment #3

Posted on Mar 30, 2011 by Happy Dog

Typo! Try this command:

ulimit -c unlimited

Comment #4

Posted on Mar 31, 2011 by Happy Bird

do i run it as

pyrit unlimit -c unlimited

?? because i couldnt get it to work

Comment #5

Posted on Apr 1, 2011 by Happy Dog

No, just run this command first before running pyrit:

ulimit -c unlimited

Next, run your pyrit commands from the same terminal.

Comment #6

Posted on Apr 17, 2011 by Happy Bird

i run ulimit -c unlimited than i run it and get

Segmentation fault (core dumped) PMKs per second.

and i run it with another file and get

Exception in thread Thread-2:9583 PMKs per second. Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "/usr/lib/python2.5/site-packages/cpyrit/pckttools.py", line 709, in run solution = self.solve(results) ValueError: All PMKs must be strings of 32 characters

Segmentation fault (core dumped)6 PMKs per second.

and i got this file on my desktop that says core.... type program crash data

Comment #7

Posted on Apr 28, 2011 by Quick Camel

I highly suspect that you suffer from random memory corruption. The error "ValueError: All PMKs must be strings of 32 characters" that you see is just a safeguard and should never be triggered.

Please also see https://code.google.com/p/pyrit/issues/detail?id=266

Status: WontFix

Labels:
Type-Defect Priority-Medium