View Issue Details

IDProjectCategoryView StatusLast Update
0001244Kali LinuxGeneral Bugpublic2018-01-29 11:17
Reporterdevilsadvocate Assigned Tog0tmi1k  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionsuspended 
Platformx64OSKaliOS Version1.0
Product Version1.0.6 
Summary0001244: Pyrit has segmentation fault with import_passwords and/or batch
Description

When attempting to use pyrit to calculate PMKs, I sometimes get a segmentation fault when I try to process large dictionary files. "g0tmilk-wordlist" would be the perfect test case for this. The details on that file can be viewed here: http://blog.g0tmi1k.com/2011/06/dictionaries-wordlists.html

The workaround that I have found is here: https://code.google.com/p/pyrit/issues/detail?id=76

The fix for this segmentation fault is very easy. You simply have to invoke the previous version of Python instead of the default version. The default version is 2.7.3. You can confirm this by typing "env python -V" into a terminal window. The workaround for this is to invoke Python 2.6. You would type something like, "/usr/bin/python2.6 /usr/bin/pyrit -i wordlist-file import_passwords". So far this seems to be working with the previously mentioned enormous wordlist file. At the time of this writing, I have successfully imported 4.5 billion passwords into pyrit's database.

If I am not mistaken, doesn't this error relate to the systems stack size? This is only a guess since this fault can be caused by any number of issues.

Low memory
Faulty Ram memory
Fetching huge data set from db using query (size of fetched data is more than swap mem)
wrong query / buggy code
having long loop (multiple recursion)

Is there any setting in the live version of Kali that can be tweaked in order to avoid these segmentation faults? In the meantime, I can just use Python, version 2.6.

Steps To Reproduce

Execute "pyrit -i wordlist-file import_passwords" or "pyrit batch" at the command line. You will see a segmentation fault with very large wordlist files.

Activities

g0tmi1k

g0tmi1k

2018-01-29 11:17

administrator   ~0007961

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2014-05-16 14:47 devilsadvocate New Issue
2014-06-04 15:19 karkassa Issue cloned: 0001348
2018-01-29 11:17 g0tmi1k Assigned To => g0tmi1k
2018-01-29 11:17 g0tmi1k Status new => closed
2018-01-29 11:17 g0tmi1k Resolution open => suspended
2018-01-29 11:17 g0tmi1k Note Added: 0007961