Issue Pyrit / Crunch Error

Discussion in 'Xiaopan Support' started by Randall88, 8 Mar 2015.

  1. Randall88

    Randall88 Member

    Joined:
    8 Mar 2015
    Messages:
    3
    Likes Received:
    0
    Hey guys,

    I was able to capture a handshake and now I am trying to attack it with a crunch-generated wordlist.
    But I get the following error every time...

    [​IMG]

    What could be wrong ?
    THanks
     
  2. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
    In future, please code your code in the forums so if someone has the same issue they can quickly find a solution through keywords. Thank you. Here is your solution:

    Ensure you have the latest crunch first: http://sourceforge.net/projects/crunch-wordlist/files/crunch-wordlist/
    Then:
    Code:
    Select All
    apt-get update apt-get dist-upgrade apt-get remove --purge pyrit apt-get install libpcap-dev svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn cd pyrit_svn/pyrit/ python setup.py build python setup.py install
    CUDA (if you have it):
    Code:
    Select All
    cd cpyrit-cuda-VERSIONNUMBER python setup.py build python setup.py install
    Test:
    Code:
    Select All
    pyrit list_cores pyrit benchmark
    https://code.google.com/p/pyrit/issues/detail?id=192
    https://code.google.com/p/pyrit/issues/detail?id=211
     
  3. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    Probably a corrupt cap, use striplive
    Code:
    Select All
    pyrit -r handshake.cap -o fixedcap.cap stripLive
    also use search it's been asked before https://xiaopan.co/forums/threads/crunch-error.4025/
     
  4. Randall88

    Randall88 Member

    Joined:
    8 Mar 2015
    Messages:
    3
    Likes Received:
    0
    ok, thanks for the answer.
    I understand that taking a screenshot of the code is not ideal, but with all that code it would take me very long time to write..
    I will try to edit the post with appropriate tags at least, if that's possible.

    To the issue...
    Looks like I've only managed to remove existing pyrit... Even apt-get update gives me errors. btw, I am running Kali off of a live USB.
    Here's the code:
    [​IMG]

    thanks for the tip..
    I've searched myself, but that post doesn't provide any useful information to this problem.
     
  5. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
    Copy / Paste work well :D
     
  6. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
    Copy / Paste work well :D

    Try
    Code:
    Select All
    apt-get install libpcap-dev apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y apt-get install zlibg1-dev python-dev g++ libssl-dev python-scapy apt-get remove --purge pyrit apt-get autoremove && apt-get autoclean svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn cd pyrit_svn/pyrit/ ./setup.py build install python setup.py install
    If you have NVIDIA CUDA
    Code:
    Select All
    aptitude install nvidia-cuda-toolkit nvidia-opencl-icd
     
  7. Randall88

    Randall88 Member

    Joined:
    8 Mar 2015
    Messages:
    3
    Likes Received:
    0
    thanks.
    Here's the error code... looks like it has problems even communicating with the resource directory online... :/
    Code:
    Select All
    root@kali:~# apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y Get:1 http://security.kali.org kali/updates Release.gpg [836 B] Get:2 http://http.kali.org kali Release.gpg [836 B] Get:3 http://security.kali.org kali/updates Release [11.0 kB] Get:4 http://http.kali.org kali Release [21.1 kB] Err http://security.kali.org kali/updates Release Err http://http.kali.org kali Release Fetched 33.7 kB in 15s (2,119 B/s) Reading package lists... Done W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 W: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/Release W: Failed to fetch http://http.kali.org/kali/dists/kali/Release W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    --- Double Post Merged, 13 Mar 2015, Original Post Date: 10 Mar 2015 ---
    Any further suggestions Mr Penguin ?

    Could something be wrong with my Kali OS as such? If it fails to communicate with the repositories..

    Thanks :)
     

Share This Page

Loading...