Results 1 to 2 of 2

Thread: Pyrit has segmentation fault with import_passwords and/or batch

  1. #1
    Join Date

    Pyrit has segmentation fault with import_passwords and/or batch

    Greetings all,

    I would like to report a minor issue with the Kali 1.0.6 distro, the live version.

    I prefer using precalculated PMKs for trying to crack the vast majority of ESSIDs (, but very often I come across an unconventional ESSID and have to build a custom database that already has the precalculated PMKs.

    Along comes pyrit. 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:

    The workaround that I have found is here:

    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.

    If anyone here has come up with any other solutions to this issue, then please share them here.

    Thank you.

  2. #2
    To me it sounds like the package itself needs to be updated to be dependant and use a on a different version of python that it already is.

    For this to happen, a bug ticket needs to be created at
    Last edited by g0tmi1k; 2014-05-16 at 09:19. Reason: https :)
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: (Offline PDF version)
    Bugs Reporting & Tool Requests:
    Kali Tool List, Versions & Man Pages:

Similar Threads

  1. Question on Pyrit batch/hash files
    By crypts3c in forum General Archive
    Replies: 0
    Last Post: 2014-11-30, 05:53
  2. Segmentation fault in pyrit
    By shahbaz in forum General Archive
    Replies: 3
    Last Post: 2014-07-04, 20:23

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts