How to install Pyrit in Kali Linux?

How to install Pyrit in Kali Linux - blackMORE Ops

This guide (How to install Pyrit in Kali Linux) is part of a series that guides readers on How to install FGLRX, AMD APP SDK, CAL++ and Pyrit in Kali Linux. The idea is to install correct drivers in Kali Linux for your GPU and use CPU+GPU combination with Pyrit to make raw data crunching faster. An example would be to utilize this combined processing power to crunch though WPA/WPA2 capture file to find Wifi password.

Readers, please follow this series in the following order:

  1. Install AMD ATI Driver (fglrx) in Kali Linux 1.x
  2. How to install AMD APP SDK in Kali Linux?
  3. How to install CAL++ in Kali Linux?
  4. How to install Pyrit in Kali Linux?

Credits:

A big thanks goes to hexed6 from Kali Forums for his original post.

Thanks to for his CAL++ project in Sourceforge.

Thanks to Pyrit project

Check FGLRX Installation

First check if fglrx module is installed:

lsmod | grep fglrx

You should get a response similar to:

fglrx 2635205 82
button 12945 1 fglrx

If not installed follow this guide to install it.

Install AMD ATI Driver (fglrx) in Kali Linux 1.x

Check AMD APP SDK Installation

Check if AMD APP SDK is installed. If not installed, follow this guide to install it.

How to install AMD APP SDK in Kali Linux?

Check CAL++ Installation

Check if CAL++ is installed. If not installed, follow this guide to install it.

How to install CAL++ in Kali Linux?

Why Pyrit?

Pyrit allows to create massive databases, pre-computing part of the IEEE 802.11 WPA/WPA2-PSK authentication phase in a space-time-tradeoff. Exploiting the computational power of Many-Core- and other platforms through ATI-Stream, Nvidia CUDA, OpenCL and VIA Padlock, it is currently by far the most powerful attack against one of the world’s most used security-protocols.

Install Pyrit in Kali

Install prerequisites

apt-get install libpcap-dev

Remove existing installation of pyrit

apt-get remove --purge pyrit

If you are not using a clean install of Kali (not recommended), you may need to issue the following command:

rm -r /usr/local/lib/python2.7/dist-packages/cpyrit/

Download pyrit

svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn

Install Pyrit

cd pyrit_svn/pyrit/
./setup.py build install

Install CAL++ plugin

cd ../cpyrit_calpp/

Edit setup.py

Edit setup.py file and modify/replace the followings:
find VERSION = '0.4.0-dev' and replace with VERSION = '0.4.1-dev'
find CALPP_INC_DIRS.append(os.path.join(CALPP_INC_DIR, 'include')) and replace with

CALPP_INC_DIRS.append(os.path.join(CALPP_INC_DIR, 'include/CAL'))

 

Save and quit, then issue the following command:

 

./setup.py build install

 

There will be several warnings, but hopefully no errors and everything will be installed.

Test cpyrit

List available core

pyrit list_cores
...

Output

The following cores seem available...

#1: 'CAL++ Device #1 'AMD GPU DEVICE''
#2: 'CPU-Core (SSE2)'
#3: 'CPU-Core (SSE2)'
#4: 'CPU-Core (SSE2)'

Benchmark Pyrit

pyrit benchmark
...

Output

Computed 7548.89 PMKs/s total.
#1: 'CAL++ Device #1 'AMD GPU DEVICE'': 5599.3 PMKs/s (RTT 1.4)
#2: 'CPU-Core (SSE2)': 685.6 PMKs/s (RTT 3.0)
#3: 'CPU-Core (SSE2)': 688.5 PMKs/s (RTT 3.0)
#4: 'CPU-Core (SSE2)': 691.9 PMKs/s (RTT 3.0)

Check Also

Correct way of installing VirtualBox Guest Additions in Kali Linux 2016.2/2017 (Kali Rolling)

How to install VirtualBox Guest Additions in Kali Linux (Kali Rolling / Kali Linux 2016.2 / Kali 2017)

Since Kali Linux 2016 came out (also known as Kali Rolling), it seems that Official …

Cracking password using John the Ripper in Kali Linux - blackMORE Ops

Cracking password in Kali Linux using John the Ripper

John the Ripper is a free password cracking software tool. Initially developed for the Unix …

124 comments

  1. When installing pyrit i get the following message:

    root@kali:~/pyrit_svn/pyrit# ./setup.py build install
    running build
    running build_py
    running build_ext
    building 'cpyrit._cpyrit_cpu' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)" -maes -mpclmul
    cpyrit/_cpyrit_cpu.c:40:18: fatal error: pcap.h: No such file or directory
    compilation terminated.
    Failed to build; Compiling without AES-NI
    building 'cpyrit._cpyrit_cpu' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
    cpyrit/_cpyrit_cpu.c:40:18: fatal error: pcap.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    Is this correct?

  2. hey there, i followed this tutorial but i got an error. See here.

    ~/pyrit_svn/cpyrit_calpp# ./setup.py build install
    running build
    running build_ext
    Building modules…
    building 'cpyrit._cpyrit_calpp' extension
    creating build
    creating build/temp.linux-x86_64-2.7
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CAL -I/usr/include/python2.7 -c _cpyrit_calpp.cpp -o build/temp.linux-x86_64-2.7/_cpyrit_calpp.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
    _cpyrit_calpp.cpp:38:23: fatal error: cal/cal.hpp: Datei oder Verzeichnis nicht gefunden
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    Can somebody help me please?

    • _cpyrit_calpp.cpp:38:23: fatal error: cal/cal.hpp: Datei oder Verzeichnis nicht gefunden

      Translated using Google Translation (German to English).

      File of directory not found. Please copy paste cal.hpp in cal/ folder and it should be all good.

      • please be more specific : "Please copy paste cal.hpp in cal/ folder and it should be all good."

        • Hi momi, I typed the last comment from my phone, so didn’t manage to link it properly.

          Here’s where I found cal.hpp file in my installation.

          root@kali:~# find / -name cal.hpp
          /usr/local/include/cal/cal.hpp
          /opt/AMDAPP/include/cal/cal.hpp
          /opt/AMDAPP/include/CAL/cal.hpp
          /opt/AMDAPP/include/cal.hpp
          /opt/AMDAPP/include/CL/cal.hpp
          /root/calpp-0.90/include/cal/cal.hpp

          Files can be downloaded from here: https://github.com/clockfort/amd-app-sdk-fixes
          BTW, it’s a bit surprising that you’re seeing this error in Pyrit installation, it’s usually a CAL++ installation issue. Hope this helps.

  3. i have some problem
    when i type ./setup.py build install form dir cpyrit_calpp/

    i get this message :

    running build
    running build_ext
    Building modules…
    building 'cpyrit._cpyrit_calpp' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CALL -I/usr/include/python2.7 -c _cpyrit_calpp.cpp -o build/temp.linux-i686-2.7/_cpyrit_calpp.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
    In file included from _cpyrit_calpp.cpp:38:0:
    /usr/local/include/cal/cal.hpp:26:17: fatal error: cal.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    
    • Hi Azan,
      If you look into the error message /usr/local/include/cal/cal.hpp:26:17: fatal error: cal.h: No such file or directory then it becomes clear what is missing. All you need to do is to copy paste cal.h file in that directory. Files can be downloaded from here: https://github.com/clockfort/amd-app-sdk-fixes. You will probably see some similar errors for other files as well, just copy paste those files from git to the correct directory.
      Hope that helps.

      • root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install
        running build
        running build_ext
        Building modules…
        building ‘cpyrit._cpyrit_calpp’ extension
        gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include -I/usr/include/python2.7 -c _cpyrit_calpp.cpp -o build/temp.linux-i686-2.7/_cpyrit_calpp.o -Wall -fno-strict-aliasing -DVERSION=”0.4.0-dev (svn r308)”
        cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
        In file included from _cpyrit_calpp.cpp:38:0:
        /usr/local/include/cal/cal.hpp:26:17: fatal error: cal.h: No such file or directory
        compilation terminated.
        error: command ‘gcc’ failed with exit status 1
        root@kali:~/pyrit_svn/cpyrit_calpp#

        ok here’s is the thing l know l paste the cal.h file to the /usr/local/include/cal directory but l did paste the cal.h file in the cal dir and
        l still get the same error? please help i don’t know whats wrong now

        • Hi Keron, Read the comments. Solution is in there (for almost every issue). Good luck.

          • The following cores seem available…
            #1: ‘CAL++ Device #1 ‘AMD WRESTLER”
            #2: ‘CPU-Core (SSE2)’
            root@kali:~/pyrit_svn/cpyrit_calpp# pyrit benchmark
            Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
            This code is distributed under the GNU General Public License v3+

            Running benchmark (1008.6 PMKs/s)… /

            Computed 1008.57 PMKs/s total.
            #1: ‘CAL++ Device #1 ‘AMD WRESTLER”: 1141.2 PMKs/s (RTT 4.5)
            #2: ‘CPU-Core (SSE2)’: 77.6 PMKs/s (RTT 3.1)

            ok so the root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install was success l got warning messages but install sucessfully
            but this is what l get when l run pyrit list_cores & pyrit benchmark it different from

            Computed 7548.89 PMKs/s total.
            #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 5599.3 PMKs/s (RTT 1.4)
            #2: ‘CPU-Core (SSE2)’: 685.6 PMKs/s (RTT 3.0)
            #3: ‘CPU-Core (SSE2)’: 688.5 PMKs/s (RTT 3.0)
            #4: ‘CPU-Core (SSE2)’: 691.9 PMKs/s (RTT 3.0)

  4. So im back with good and bad news ,the good news is that i tried the 2.9 versioon of the AMD APP SDK and it worked with Prokash addition the CAL++ worked too my problem was in Pyrit installation the final step whene i try to execute the command :

    ./setup.py build install

    i get this :

    sudo ./setup.py build install
    unavailable enviroment variable ATISTREAMSDKROOT
    Traceback (most recent call last):
      File "./setup.py", line 35, in 
        CALPP_INC_DIR = os.environ['ATISTREAMSDKROOT']
      File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
        raise KeyError(key)
    KeyError: 'ATISTREAMSDKROOT'

    so i think that the AMD SDK installation didnt go well after all what shoud i do now please help ?

    • after 15min from posting my msg i found out the solution you inly need to do all the steps in root acount i was doing them in my admin acount because i dont have a root acount so i cpied the directories "amdappsdk" ,"calpp-0.90" ,and "pyrit_svn" into "/root" and issued the command :

      root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install

      and everything went well (with a lots of warning though) and here is my benchmark :

      Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com  
      This code is distributed under the GNU General Public License v3+
      Running benchmark (18000.3 PMKs/s)...  
      Computed 18000.29 PMKs/s total.
      #1: 'CAL++ Device #1 'AMD GPU DEVICE'': 17465.3 PMKs/s (RTT 1.4)
      #2: 'CPU-Core (SSE2/AES)': 517.6 PMKs/s (RTT 3.0)
      #3: 'CPU-Core (SSE2/AES)': 505.9 PMKs/s (RTT 3.1) 
      #4: 'CPU-Core (SSE2/AES)': 501.4 PMKs/s (RTT 3.0)

      im using a Radeon HD 7670M its a hybrid solution not a very powerful but still powerful than the 4 cores of the i5 proc in Password cracking so all of this coud never happenn without you sir i give all my thanks :)

  5. I did everything you wrote so far and stil getting this:

    root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install
    unavailable enviroment variable ATISTREAMSDKROOT 
    Traceback (most recent call last):
      File "./setup.py", line 35, in 
        CALPP_INC_DIR = os.environ['ATISTREAMSDKROOT']
      File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
        raise KeyError(key)
    KeyError: 'ATISTREAMSDKROOT'

    What’s the problem?

    • okey guys, fixed it. What I did is this:

      1.made sure that cmake . works

      2.installed SDK

      3.restarted system

      4.went through PYRIT installation again

      and it was successful!

      THANK YOU VERY MUCH!!!

      • Good one Martin, Thanks for reporting back. I was away, but yeah, your issue was you didn't start with AMDAPPSDK Driver 1st.
        The chain is like this,
        1. Install AMD Drivers
        2. Install SDK toolkit.
        3. Reinstall Pyrit (with the workaround outlined in the comments section).
        4. Install CAL++.
        Hope this clears out confusion for anyone else
        out there.

        • Hi just wanted to say I appreciate all the instruction towards getting pyrit to work with AMD gpu. That being said, I’m at a loss with this error when I try to use pyrit after all steps have been followed.

          ~/# pyrit
          terminate called after throwing an instance of 'cal::Error'
            what():  Operational error
          Aborted
          

          Ive also tried running ./pyrit from ~/pyrit_svn/pyrit and I get this error

          Traceback (most recent call last):
            File "./pyrit", line 4, in 
              import pyrit_cli
            File "/root/pyrit_svn/pyrit/pyrit_cli.py", line 32, in 
              import cpyrit.cpyrit
            File "/root/pyrit_svn/pyrit/cpyrit/cpyrit.py", line 41, in 
              import util
            File "/root/pyrit_svn/pyrit/cpyrit/util.py", line 53, in 
              import _cpyrit_cpu
          ImportError: No module named _cpyrit_cpu
          
          my specs are,
          #fglrxinfo
          display: :0.0  screen: 0
          OpenGL vendor string: Advanced Micro Devices, Inc.
          OpenGL renderer string: AMD Radeon HD 8400
          OpenGL version string: 4.3.12618 Compatibility Profile Context 13.251

          this is day three of my attempt at this installation. Any help would be appreciated.

          • Hi Mikeman,
            Martin already posted a solution, you can just follow that:

            Martin

            March 16, 2014 at 11:13 pm

            okey guys, fixed it. What I did is this:

            1.made sure that cmake . works
            2.installed SDK
            3.restarted system
            4.went through PYRIT installation again

            and it was successful!
            THANK YOU VERY MUCH!!!

        • OK. So I’ve narrowed down where my installation goes sideways to the same part most people in the comment section are getting stuck on at ./setup.py build install in the ~/pyrit_svn/cpyrit_calpp directory. Only I don’t get any missing cal.hpp errors like the above comments unless I don’t install CAL++ before pyrit. I didn’t get any errors on cmake and pyrit doesn’t output my error from my first post till after cpyrit. installation. I do have a question about the cpyrit_calpp ./setup.py build install output. Should I be getting about 30 of these warnings too?
          _cpyrit_calpp_kernel.cpp:429:32: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
          _cpyrit_calpp_kernel.cpp:431:57: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses].

          Anyways I also tried deleting all folders of installation from steps 2-4 of pyrit guide and starting over using Martin’s solution. Still no dice. I’m not a Linux expert, ive mainly taught myself through with the Internet, so chances are there I’m misinterpreting something in the comment solutions. I appreciate your replies and patience.

          • Hi Mikeman,
            Yes, we all had that warning. It doesn’t hurt your installation. Only catch is, all of my instructions are for v2.7 AMDAPPSDK. If you’ve installed 2.9, then you might see some random errors. (not warnings).
            Just ensure you installed them in the following order:
            1. Installed AMD fglrx driver. (there’s a guide for it in this website, pick the most recent one)
            2. Installed AMDAPPSDK (guide in my site)
            3. Reinstalled Pyrit and Cpyrit (guide in my site, take care of that pesky cal.hpp error as per solutions outlined in comments section)
            4. Installed CAL++ (guide in my site).

            Unless you have a cards that’s too old or too new (from my experience, only old cards are not supported, all new cards works just fine).
            If you may however manage to make it work, copy paste all commands and troubleshooting steps and put in the comments section. I started this blog for myself.. to keep track of issues I’ve encountered. It seems many users got the same issue. And don’t worry about your Linux skills, no one learned and became expert in 1 week. At times, we all fumble and tumble but what I’ve found it always works at the end..
            Good Luck.

          • You probably setup cpyrit_opencl alongside cpyrit_calpp –> this causes the error.

            Go into the cpyrit_opencl directory and do the following as root:

            python setup.py install –record files.txt
            cat files.txt | xargs rm -rf

            Now try ‘pyrit list_cores’ :)

            Side note: Got the X error with fglrxinfo, to fix that I had to do aticonfig –adapter=all –initial

            Hope this helps.

  6. Thanks for the quick response. I have tried that before, but I tried it again in case I missed something and it still shows the same error. My output from find / -name cal.hpp only showed these outputs
    /usr/local/include/cal/cal.hpp
    /root/calpp-0.90/include/cal/cal.hpp
    should I just copy the whole /root/calpp-0.90/include/cal/ folder and paste it into /opt/AMDAPP/include/ ? Because there isn’t a cal folder in that directory, just the CAL folder.

    • Hello,

      i got the same Problem here.
      i found out that when i install everything through like first AMDSDK then calp++ then pyrit ./setup.py and then the calp setup.py i get those 30 Errors.. but it doesnt change the outcome of the Same error :

      No protocol specified
      terminate called after throwing an instance of ‘cal::Error’
      what(): Operational error

      and when i install till calp90.0.0 then restart… i wount get these 30 errors .. everything looks fine but then again .. when i start pyrit i get same error again.. drives me crazy that i dont find anything about it. :/

      did everything with root.. and tryed pretty much every step.

      • What’s the exact error message? I had an issue at some point where after reinstalling Pyrit, it wasn’t linked properly. But that’s a problem with Pyrit … and I ended up linking proper directory to fix it. MikeMan fixed it later on at some point … There’s also a fix posted by Martin in the comments section.

        • Actually I had to call it quits before I found a 10th story balcony to toss my laptop off of. Now that I’ve found someone else with the same issue I don’t feel so retarded so I might try again. Ill let you know if I figure anything out.

          • LOL! I reinstalled Kali 11 times in 3 days when Kali 3.12 broke AMD Drivers and my hashcat wouldn’t work. Have to endure some pain but that’s how your knowledge becomes rock solid. I will try to help in any way possible in here and in Kali forum.
            Now that you have someone else with similar issues, you can try to share ideas either here or in Kali forum to resolve this issue. Good luck to you both.

          • MikeMan, did you figure out anything about this error? Im also getting the same error, and need help with this!

          • No…The only thing i can think of is maybe my graphics card isn’t supported by amd app sdk (too new maybe?). Mine is Radeon HD 8600. I went to the website and found a list of supported graphics cards, but i don’t think mine was on it.

      • I am also now getting the error:

        terminate called after throwing an instance of ‘cal::Error’
        what(): Operational error
        Aborted

        The thing is that I had pyrit installed and working. I added about 100,000,000 passwords to the database and then restarted. After which, I started getting this error. Has anyone found a solution to the problem?? Please help! This is driving me nuts!!

        -AndyFive

  7. Hi
    My installation on hp dv6 i5 6770M.System update>aptitude update>aptitude dist-upgrade,installation AMD ATI and AMD-APP-SDK-v2.7 in accordance with the recommendations blackMORE,then install Pyrit is ok>Install CAL++ plugin>ERROR root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install
    running build
    running build_ext
    Building modules…
    building ‘cpyrit._cpyrit_calpp’ extension
    creating build
    creating build/temp.linux-x86_64-2.7
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CAL -I/usr/include/python2.7 -c _cpyrit_calpp.cpp -o build/temp.linux-x86_64-2.7/_cpyrit_calpp.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev”
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
    _cpyrit_calpp.cpp:38:23: fatal error: cal/cal.hpp: Nie ma takiego pliku ani katalogu
    compilation terminated.
    error: command ‘gcc’ failed with exit status 1
    My solution:download>calpp-0.90.tar.gz>unzip>copy cal of the /root/calpp-0.90/include and paste to /opt/AMDAPP/include/CAL ,next apt-get install cmake libboost-all-dev and Install CAL++ plugin.That’s all,despite several times trying to install CAL++ I was unable to install it I had this problem>root@kali:~/calpp-0.90# make
    Scanning dependencies of target coalescingtest
    [ 6%] Building CXX object examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o.PYRIT RUNS WITHOUT INSTALLATION CAL++.
    root@kali:~# pyrit benchmark
    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+
    Running benchmark (21706.1 PMKs/s)… /
    Computed 21706.11 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 21374.3 PMKs/s (RTT 1.1)
    #2: ‘CPU-Core (SSE2/AES)’: 424.0 PMKs/s (RTT 3.0)
    #3: ‘CPU-Core (SSE2/AES)’: 421.9 PMKs/s (RTT 3.0)
    #4: ‘CPU-Core (SSE2/AES)’: 408.7 PMKs/s (RTT 3.0) I tested rainbow tables 1.9 mln PMKs/s.
    Thank you for the administrator to guide and encourage the further continuation

  8. I have a AMD R9 290 graphics card. Following your guides, I get “Segmentation fault” whenever I try to run Pyrit. Has anyone else run into this problem?

    • Hi JohnDN,
      It’s possibly an issue with .cap file. Run pyrit selftest and pyrit benchmark to check if it’s really and issue with Pyrit or not.
      Also are you running on CrossFire?
      See this long post dated 2010 … http://code.google.com/p/pyrit/issues/detail?id=123
      Also please post back if you’ve managed to solve it, info like these gets lost quickly. Good Luck.
      -BMO

      • I am not running crossfire, only one AMD R9 290. Also, I tried simply “pyrit” and “pyrit benchmark” and I get the “Segmentation fault”. So I believe it is an issue with Pyrit. I’ll review the post you linked when I have more time and see if that resolves it. I am using OpenCL Pyrit for now.

  9. This guide worked First time for me heres my results

    Running benchmark (14523.6 PMKs/s)… –

    Computed 14523.60 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 14185.0 PMKs/s (RTT 1.3)
    #2: ‘CPU-Core (SSE2/AES)’: 437.0 PMKs/s (RTT 2.9)
    #3: ‘CPU-Core (SSE2/AES)’: 424.5 PMKs/s (RTT 3.0)
    #4: ‘CPU-Core (SSE2/AES)’: 436.3 PMKs/s (RTT 3.0)
    root@jake:~/pyrit_svn/cpyrit_calpp#

  10. root@kali:~# cd pyrit_svn/pyrit/
    root@kali:~/pyrit_svn/pyrit# ls
    build cpyrit _cpyrit_opencl.h pyrit README
    CHANGELOG _cpyrit_oclkernel.cl MANIFEST.in pyrit_cli.py setup.py
    COPYING _cpyrit_opencl.c PKG-INFO pyrit_cli.pyc test
    root@kali:~/pyrit_svn/pyrit# ./setup.py build install
    The headers required to build the OpenCL-kernel were not found. Trying to continue anyway…
    running build
    running build_ext
    Building modules…
    building ‘cpyrit._cpyrit_opencl’ extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include -I/usr/include/python2.7 -c _cpyrit_opencl.c -o build/temp.linux-x86_64-2.7/_cpyrit_opencl.o -Wall -fno-strict-aliasing -DVERSION=”0.4.0″
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/_cpyrit_opencl.o -L/opt/AMDAPP/lib/x86_64 -lcrypto -lz -lOpenCL -o build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_opencl.so
    running install
    running install_lib
    copying build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_opencl.so -> /usr/local/lib/python2.7/dist-packages/cpyrit
    running install_egg_info
    Writing /usr/local/lib/python2.7/dist-packages/cpyrit_opencl-0.4.0.egg-info
    root@kali:~/pyrit_svn/pyrit# cd ../cpyrit_calpp/
    root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install
    running build
    running build_ext
    Building modules…
    running install
    running install_lib
    running install_egg_info
    Removing /usr/local/lib/python2.7/dist-packages/cpyrit_calpp-0.4.1_dev.egg-info
    Writing /usr/local/lib/python2.7/dist-packages/cpyrit_calpp-0.4.1_dev.egg-info
    root@kali:~/pyrit_svn/cpyrit_calpp# pyrit list_cores
    Errore di segmentazione

    HELPP!!!

  11. I have reinstalled 4 times and then kali step by step guide on HP pavilion AMD cpu a10
    and amd radeon 8600 GPUs.
    I had no errors but typing in command: pyrit list_cores segmentation fault error.
    I noticed the disappearance of pyrit and tried to reinstall with apt-get install pyrit but always segmentation fault.
    What wrong?

    Help

    • Is your card supported? Fglrx works? SDK v2.7? I’m on mobile now, so can’t do research but someone posted a similar comment or solution either in my site or kali forums.

      • I installed the ati driver according to the tutorial and now I can see the video card radeon HD8600 and Fglrx works perfectly.
        I installed SDK v2.7 as a tutorial and I had no errors.
        I installed Cal + + and I did not have errors.
        If I follow the tutorial on installing pyrit I have no errors but I do not run pyrit.
        with “apt-get remove – purge pyrit” I uninstalled pyrit but following the tutorial when I install it I do not fault you run giving me error segment.
        Where can I check the compatibility of the video card?
        I just installed kali and I’m re-running the tutorial.
        Sorry my bad english

  12. All the guides worked a treat first go… AMD APP SDK v2.7 (didn’t bother with 2.9 as per some other comments…)

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

    Running benchmark (17391.3 PMKs/s)… \

    Computed 17391.35 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 14875.5 PMKs/s (RTT 1.6)
    #2: ‘CPU-Core (SSE2/AES)’: 470.3 PMKs/s (RTT 3.0)
    #3: ‘CPU-Core (SSE2/AES)’: 497.8 PMKs/s (RTT 3.0)
    #4: ‘CPU-Core (SSE2/AES)’: 468.2 PMKs/s (RTT 3.0)
    #5: ‘CPU-Core (SSE2/AES)’: 468.2 PMKs/s (RTT 3.0)
    #6: ‘CPU-Core (SSE2/AES)’: 463.0 PMKs/s (RTT 3.0)
    #7: ‘CPU-Core (SSE2/AES)’: 465.6 PMKs/s (RTT 3.0)
    #8: ‘CPU-Core (SSE2/AES)’: 467.2 PMKs/s (RTT 3.0)

    Not bad results for a laptop ;)

    Cheers,
    Ray

  13. When I try to run:
    root@kali:~# pyrit serve

    i get some strange thing where it says:
    Serving 1 active clients; 0 PMKs/s; 0.0 TTS Exception in thread Thread-6:
    Traceback (most recent call last):
    File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
    self.run()
    File “/usr/local/lib/python2.7/dist-packages/cpyrit/network.py”, line 54, in run
    pwlist = storage.PAW2_Buffer()
    TypeError: __init__() takes exactly 2 arguments (1 given)

    Where do I go from here?I I installed everything without a problem (the SDK is v2.9). FGLRX installs fine, pyrit didn’t throw any errors at me. everything else works, but for some reason pyrit gives me that error.
    Could I have followed something wrong?

    • I get the same thing. It won’t work as a server or if I try the other way, It doesn’t work with other servers. Not sure whats going on. Although, I had 2 Nvidia machines working together. My setup now is 1 AMD and 1 Nvidia.

  14. If you got this error
    root@kali:~/pyrit_svn/pyrit# ./setup.py build install
    running build
    running build_py
    running build_ext
    building ‘cpyrit._cpyrit_cpu’ extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)” -maes -mpclmul
    cpyrit/_cpyrit_cpu.c:40:18: fatal error: pcap.h: No such file or directory
    compilation terminated.
    Failed to build; Compiling without AES-NI
    building ‘cpyrit._cpyrit_cpu’ extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)”
    cpyrit/_cpyrit_cpu.c:40:18: fatal error: pcap.h: No such file or directory
    compilation terminated.
    error: command ‘gcc’ failed with exit status 1

    ——————————————————————————-
    fix is uninstall CAL++ and reinstall CAL++ then go to last step and use command ./setup.py build install

    root@adminis:~# pyrit list_cores
    Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+

    The following cores seem available…
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”
    #2: ‘CPU-Core (SSE2/AES)’
    #3: ‘CPU-Core (SSE2/AES)’
    #4: ‘CPU-Core (SSE2/AES)’

  15. no matter what i do , no matter how many times i reinstall kali and follow all the steps, and though i am having no erros at all install cal++ and pyrit, i still get this error

    ~/# pyrit
    terminate called after throwing an instance of ‘cal::Error’
    what(): Operational error
    Aborted

    with any pyrit command.

    please note that my drivers were installed correctly and im using a switchable graphic architecture (intel/AMD)

    anyone have any idea about this error?

  16. root@administr:~# pyrit benchmark
    Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+

    Running benchmark (129363.1 PMKs/s)… /

    Computed 129363.09 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 134583.9 PMKs/s (RTT 1.0)
    #2: ‘CPU-Core (SSE2/AES)’: 934.9 PMKs/s (RTT 3.0)
    #3: ‘CPU-Core (SSE2/AES)’: 887.1 PMKs/s (RTT 2.9)
    #4: ‘CPU-Core (SSE2/AES)’: 946.9 PMKs/s (RTT 2.9)

    The problem is >> when I add new ati 9280x to my computer …..SECOND GPU is not recognized. I changed to other slot but no luck ,and I try GPU (just in case) on other pc works fine.

    Hardware : MB asrock h81 pro , intel i 5 4570 s , ram 1600 corsair , PSU corsair GS800, GPU gigabyt R 9280x , OS kali 32 bit

  17. root@kali:~/pyrit_svn/cpyrit_calpp# ./setup.py build install
    unavailable enviroment variable ATISTREAMSDKROOT
    Traceback (most recent call last):
    File “./setup.py”, line 35, in
    CALPP_INC_DIR = os.environ[‘ATISTREAMSDKROOT’]
    File “/usr/lib/python2.7/UserDict.py”, line 23, in __getitem__
    raise KeyError(key)
    KeyError: ‘ATISTREAMSDKROOT’

  18. Ihave a ATI mobility HD 8xxxx series card. usng CAl++ gives me a segmentation fault as others have described here.

    Running pyrit before the CAL++ “plugin” worked.
    Afteer installing CAL++ “plugin” i only get a segmentation fault. ive posted that in the CAL++ install thread.

    My workarond was to use the OpenCl “plugin”.

    heres what i did after getting the segmentation fault:

    In blackMOORES guide
    For CAL++ its:
    cd ../cpyrit_calpp/

    Instead For OPENCL plugin its:
    cd ../cpyrit_opencl

    leafpad setup.py

    Change this (lines 34 & 35):
    OPENCL_INC_DIRS = []
    OPENCL_LIB_DIRS = []

    To this and save the file:
    OPENCL_INC_DIRS = [‘/opt/AMD-APP-SDK-v2.4-lnx64/include/’]
    OPENCL_LIB_DIRS = [‘/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/’]

    ./setup.py build install
    pyrit list_cores

    Hope it helps guys stuck at the segmentation fault error.

    • I have the same error:
      pyrit
      terminate called after throwing an instance of ‘cal::Error’
      what(): Operational error
      Aborted

      Have tried you instruction but no luck. Same error. I look that i have no directory /opt/AMD-APP-SDK-v2.4-lnx64/include/ , only /opt/AMDAPP/ with same folder. And i try to change to my folder, but still no luck. What can i do to fix this error ?
      Sorry for my English.

      • You can use AMDAPP instead AMD-APP-SDK-v2.4-lnx64

        OPENCL_INC_DIRS = [‘/opt/AMDAPP/include/’]
        OPENCL_LIB_DIRS = [‘/opt/AMDAPP/lib/x86_64/’]

        This works fine with my system.

        AMD R9 290X
        AMD SDK V2.9

  19. Marshall_Banana

    Has anyone been able to use two gpu’s with pyrit? I tried with two 7970’s, but my PKMs get cut in half on each card. It doesn’t matter how I configure the cards I can only get 56,000 PKMs each card. On a single card I can get 140,000 PKMs. I know that there are problems getting pyrit to scale with more than one gpu, but I have seen screen shots of two 7970’s doing 280,000 PKMs. Any help wold be appreciated.

  20. I finally made it to the end, after around 3-4 days lost, but here i am :D
    I had many issues, tried with Kali, then a couple of times and now again a fresh install of Kali 1.07..
    Now nearly everything worked immediately, but in the end im stuck:
    root@kali:~/calpp-0.90/pyrit_svn/cpyrit_calpp# pyrit list_cores
    Speicherzugriffsfehler
    root@kali:~/calpp-0.90/pyrit_svn/cpyrit_calpp# pyrit
    Speicherzugriffsfehler
    translate.google.com: Memory access error. But i I think its something with Segmentationfault, is that right?

    I went 3 or 4 times through your Tutorial, but it always ended like this..
    I tried to get rezurect’s method to work.. failed the same way..

    fglrx, AMDAPPSDK and CAL++ is all successfully installed. I really dont know whats wrong here..

    My PC:
    4770k@4*4ghz HT = about 5000 PKMs,
    but i really want to get use of my R9 290X

    It would be very nice if someone can help me!

    Greetings from Germany,
    ChavezD

    • Well, i kept trying on and now i found out, that the problem occurs, after installing the Cal++ Plugin. Right now it is working normally, but as soon as i go on, i get the segmentation fault error..
      After either “./setup.py build install” or “python setup.py install” i cant open pyrit anymore.. Has anyone any idea?

      • Disabling Nopat also didnt work. Somewhere in the internet i found some people with segmentation fault errors where it helped (but not Pyrit)…

        root@kali:~/pyrit_svn/cpyrit_calpp# dmesg | grep -i pat
        [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.14-kali1-amd64 root=UUID=83e8a860-cda0-4103-a353-ce8728ff697f ro quiet nopat
        [ 0.000000] PAT support disabled.
        [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.14-kali1-amd64 root=UUID=83e8a860-cda0-4103-a353-ce8728ff697f ro quiet nopat
        [ 5.238477] [fglrx] Kernel supports PAT but it has been disabled
        [ 5.238480] [fglrx] Using driver built-in PAT support instead
        [ 5.244738] [fglrx] Driver built-in PAT support is enabled successfully
        root@kali:~/pyrit_svn/cpyrit_calpp# pyrit
        Speicherzugriffsfehler

        • Hi Chavez,
          First of, congrats on winning the world cup. :)
          As for your issue, few questions:
          1. Did you install AMD APP SDK 2.9 first then reverted back to 2.7?
          2. Did you only use Kali Linux official repositories?
          3. Everything updated, upgraded as per standard procedures (without any 3rd party/Debian packages)?

          If any of the questions were answered NO, I’m afraid you might have to try a fresh install. Good luck and thanks for stopping by.
          Cheers,
          -BMO

          • Tank you for your reply! :)
            1. “NO”, complete fresh install. That means directly installed 2.7
            2. Yes, did it how written in your tutorial.
            3. Yes, but im not sure when i “perfectly” should do this. Directly after installing Linux and befor beginning to install other things?

            I think i’m just gonna try one more time now.. Such project never took me so long to get achieved, either it worked or i surrendered after a few hours of work..
            Well, i’ll keep you posted when i am done one more time :D

          • Alright, here i am again, this ist just f*ing me around -.-
            Did it exactly step by step after your tutorial (after again completely fresh install on a clean HDD) , but in the end:
            root@Kali-PC:~/pyrit_svn/cpyrit_calpp# pyrit list_cores
            Speicherzugriffsfehler

            By the way, the only errors/warnings i got here, ist that allright?
            root@Kali-PC:~/pyrit_svn/cpyrit_calpp# ./setup.py build install
            running build
            running build_ext
            Building modules…
            building ‘cpyrit._cpyrit_calpp’ extension
            creating build
            creating build/temp.linux-x86_64-2.7
            gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CAL -I/usr/include/python2.7 -c _cpyrit_calpp.cpp -o build/temp.linux-x86_64-2.7/_cpyrit_calpp.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)”
            cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
            gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CAL -I/usr/include/python2.7 -c _cpyrit_calpp_kernel.cpp -o build/temp.linux-x86_64-2.7/_cpyrit_calpp_kernel.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)”
            cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
            _cpyrit_calpp_kernel.cpp: In function ‘void sha1_process(const SHA_DEV_CTX&, SHA_DEV_CTX&)’:
            _cpyrit_calpp_kernel.cpp:429:32: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:431:57: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:434:61: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:437:63: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:440:63: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:443:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:446:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:449:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:452:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:455:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:458:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:461:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:464:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:467:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:470:53: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:473:54: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:477:66: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:481:69: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:485:69: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:490:69: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:595:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:599:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:605:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:609:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:615:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:619:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:625:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:629:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:635:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:639:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:645:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:649:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:655:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:659:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:665:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:669:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:675:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:679:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:685:49: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            _cpyrit_calpp_kernel.cpp:689:76: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
            creating build/lib.linux-x86_64-2.7
            creating build/lib.linux-x86_64-2.7/cpyrit
            g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/_cpyrit_calpp.o build/temp.linux-x86_64-2.7/_cpyrit_calpp_kernel.o -lcrypto -laticalrt -laticalcl -o build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_calpp.so
            running install
            running install_lib
            copying build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_calpp.so -> /usr/local/lib/python2.7/dist-packages/cpyrit
            running install_egg_info
            Writing /usr/local/lib/python2.7/dist-packages/cpyrit_calpp-0.4.1_dev._svn.r308_.egg-info

            Any chance getting it to work? Or how about OpenCL instead of Cal++, maybe this works?

          • Hi ChavezD,

            I also have a R9 290X (PowerColor PCS+ R9 290X) card. CAL++ is not working for me either in 32 bit or 64 bit system – that’s really sad :( same “Segmentation fault”

            please check:
            root@b0x:~# dmesg | grep -i pyrit

            [ 1225.795189] pyrit[14130]: segfault at e1c ip 00007fa54d720399 sp 00007fffccef8d30 error 4 in libaticaldd.so[7fa54d5bd000+b47000]

            when this error accours. I think you will get the same error like me

            Totally pissed off ended up with OpenCL.
            no so much performance than CAL++ but so far OK but I would like to get CA++ working (+30% more performance than OpenCL)

            card only!
            #1: ‘OpenCL-Device ‘Hawaii”: 97168.3 PMKs/s (RTT 1.8)

            greets from Austria!

  21. Hi !
    Can pyrit to work with ATI and nVidia both? For example RADEON and GeForce 8800. need to compile two copies of the program (for CUDA and CAL++)? or can it all together in one program

    Best regards
    Andrej

    • Hi Andrej,
      On the same machine with 2 graphics cards installed? (i.e. NVIDIA and ATI?). No, wont work as the lib files would be different. But hey, that’s just me talking, if someone can make them work… I’m all ears! Cheers,
      -BMO

  22. Thanks for the help!

    Computed 78369.88 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 78083.0 PMKs/s (RTT 1.0)
    #2: ‘CPU-Core (SSE2/AES)’: 598.5 PMKs/s (RTT 3.1)
    #3: ‘CPU-Core (SSE2/AES)’: 583.4 PMKs/s (RTT 3.0)
    #4: ‘CPU-Core (SSE2/AES)’: 561.8 PMKs/s (RTT 2.9)
    #5: ‘CPU-Core (SSE2/AES)’: 560.6 PMKs/s (RTT 3.0)
    #6: ‘CPU-Core (SSE2/AES)’: 598.8 PMKs/s (RTT 2.9)
    #7: ‘CPU-Core (SSE2/AES)’: 589.0 PMKs/s (RTT 3.0)
    #8: ‘CPU-Core (SSE2/AES)’: 566.3 PMKs/s (RTT 2.9)

    • Thanks for this great guide !
      Computed 80563.85 PMKs/s total.
      #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 84218.8 PMKs/s (RTT 1.1)
      #2: ‘CPU-Core (SSE2)’: 611.3 PMKs/s (RTT 3.0)
      #3: ‘CPU-Core (SSE2)’: 636.1 PMKs/s (RTT 3.0)
      #4: ‘CPU-Core (SSE2)’: 625.3 PMKs/s (RTT 2.9)

  23. Hi, i follow your posts but i still have this:

    root@kali:~# pyrit list_cores
    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+

    The following cores seem available…
    #1: ‘CPU-Core (SSE2/AES)’
    #2: ‘CPU-Core (SSE2/AES)’
    #3: ‘CPU-Core (SSE2/AES)’
    #4: ‘CPU-Core (SSE2/AES)’

    the #1 is still CPU-Core, why it’s not ‘CAL++ Device #1 ‘AMD GPU DEVICE”?

    Thanks, I love your site!

    • Hi Dario,

      Did you follow all 4 posts? You need all 4 for ATI ..

      How to install AMD ATI Driver (fglrx) in Kali Linux?
      How to install AMD APP SDK in Kali Linux?
      How to install CAL++ in Kali Linux?
      How to install Pyrit in Kali Linux?

      p.s. dont install new AMD APP SDK.

      • Please tell me how to remove (uninstall) each things, so i retry all the steps.
        Thanks

      • At first i would like to say thank you for that great tutorial! Everything went fine till got this error using sqlite with pyrit:

        # pyrit -u sqlite:///mydb.db -i /root//rockyou.txt import_passwords
        Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
        This code is distributed under the GNU General Public License v3+

        Connecting to storage at ‘sqlite:///mydb.db’… Traceback (most recent call last):
        File “/usr/local/bin/pyrit”, line 6, in
        pyrit_cli.Pyrit_CLI().initFromArgv()
        File “/usr/local/lib/python2.7/dist-packages/pyrit_cli.py”, line 116, in initFromArgv
        options[‘storage’] = self._getStorage(storage_url)
        File “/usr/local/lib/python2.7/dist-packages/pyrit_cli.py”, line 231, in _getStorage
        storage = cpyrit.storage.getStorage(url)
        File “/usr/local/lib/python2.7/dist-packages/cpyrit/storage.py”, line 132, in getStorage
        raise util.SqlalchemyImportError(“SQLAlchemy seems to be ” \
        cpyrit.util.SqlalchemyImportError: SQLAlchemy seems to be unavailable.

        I already used sqlite without problems, so whats going on now?

  24. Ok so i guess i installed something in the wrong way..
    Is there a way to know if i have installed each things in the right way?
    The AMD ATI Driver (fglrx) i think is install correctly beacuse:

    root@kali:~# fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: AMD Radeon R9 200 Series
    OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006.1001

    and i can also generate xorg.conf:

    root@kali:~# aticonfig –initial -f
    Uninitialised file found, configuring.
    Using /etc/X11/xorg.conf
    Saving back-up to /etc/X11/xorg.conf.fglrx-0

    So i think the problem isn’t here.
    For the AMD APP SDK i use the 2.7 version instead of the last one (2.9.1),

    I also install CAL++ without receiving an error.

    And for Pyrit i have it installed but not work with CAL++ (see post above).

    So what i ask is if Is there a way to know if i have installed each things in the right way?
    Is there a way to remove (uninstall) each things to retry all the process?

    Thanks a lot.

  25. Worked great! I definitely agree to use 2.7 SDK vice 2.9, had to re-install Kali after I read the notes section on that page. I got mine working on a 1.0.9 32bit Kali install. Here are my benchmarks using an R9 280X

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

    Running benchmark (132333.2 PMKs/s)… –

    Computed 132333.24 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 130909.7 PMKs/s (RTT 0.9)
    #2: ‘CPU-Core (SSE2/AES)’: 636.8 PMKs/s (RTT 3.0)
    #3: ‘CPU-Core (SSE2/AES)’: 663.0 PMKs/s (RTT 2.9)
    #4: ‘CPU-Core (SSE2/AES)’: 612.8 PMKs/s (RTT 3.0)
    #5: ‘CPU-Core (SSE2/AES)’: 616.5 PMKs/s (RTT 3.0)
    #6: ‘CPU-Core (SSE2/AES)’: 634.9 PMKs/s (RTT 3.0)
    #7: ‘CPU-Core (SSE2/AES)’: 627.8 PMKs/s (RTT 3.1)
    #8: ‘CPU-Core (SSE2/AES)’: 586.6 PMKs/s (RTT 3.0)

  26. I saw it’s rated ~140k on other people benchmarks. Could you suggest what’s wrong? Also it’s just one card why does it show 2 GPU? thank you. I ran 4 benchmarks and that’s what I average. Also as I understand it’s under great load. I can feel it’s hot but fan doesn’t start speeding up like when I play games on max.

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

    Running benchmark (57755.1 PMKs/s)… |

    Computed 57755.09 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘ATI CYPRESS”: 33389.5 PMKs/s (RTT 1.1)
    #2: ‘CAL++ Device #2 ‘ATI CYPRESS”: 34828.0 PMKs/s (RTT 1.1)

    • To Clarify hd5970 is double GPU card but doesn’t it suppose to show 1 Device? maybe it’s a problem for low benchmark? could somebody share wisdom how to fix my problem?? thank you

  27. I wanna say THANK YOU :) everything worked here is my benchmark
    Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+

    Running benchmark (46557.7 PMKs/s)… /

    Computed 46557.75 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD BARTS”: 46799.9 PMKs/s (RTT 1.0)
    #2: ‘CPU-Core (SSE2)’: 576.9 PMKs/s (RTT 3.1)
    #3: ‘CPU-Core (SSE2)’: 593.1 PMKs/s (RTT 3.1)
    #4: ‘CPU-Core (SSE2)’: 597.8 PMKs/s (RTT 3.0)
    #5: ‘CPU-Core (SSE2)’: 590.1 PMKs/s (RTT 3.0)
    #6: ‘CPU-Core (SSE2)’: 581.8 PMKs/s (RTT 3.1)

  28. 4th day of installation with the same error on 3rd installation :(

    Everythng works with no errors until after I install cal++ (which is installed with no error messages)

    Whenever I try using a command via pyrit this shows up like some other users have reported:

    terminate called after throwing an instance of ‘cal::Error’
    what(): Operational error
    Aborted

    I’ve tried just about everything here… any other ideas of what could make this go wrong? If I install pyrit without cal++ everything works fine, but my gpu isn’t recognized.

    • Thanks for the guide blackmore ops. I eventually bought a desktop computer with radeon hd 7000 series and everything worked. On my laptop it was 8400 series. Followed steps from guide exactly the same on both devices. In still not sure sure whether a work around exists for that error but getting another computer was a whole lot less of a headache. If you already have a desktop I would consider another graphics card. But then again I’m extremely impatient so maybe you can figure out how to work around it. Also I installed with Kali 1.0.9 because of headers not available for 1.0.6.
      Good luck to you.

      • I also gave up on this route of installation. Instead of using my laptop to crack the handshakes, I set up a remote desktop to my main computer where I can then crack it from there. I was able to get it running on my main computer which has 2x nvidia gtx 660s. This was probably a better solution considering how my laptop’s gpu wouldn’t come close to the power my gpus give on my desktop. Thanks for the guide, it still ended up working in the end just not on my laptop.

    • Same shit here! Del Inspiron 15R with ATI Radeon 8730M.

      root@localhost:~# pyrit
      terminate called after throwing an instance of ‘cal::Error’
      what(): Operational error
      Przerwane

  29. Doesn’t Kali already have Pyrit installed? Does it have to be installed again?

  30. hi,@admin,first of all, i wanna thank you made so great HOWTO guide to others install pyrit on kali. But seems i got some unexpected results. here is the output in terminal:
    root@kali:~# pyrit
    terminate called after throwing an instance of ‘cal::Error’
    what(): Operational error
    Aborted.

    i’ve also read every same error with mine and tried followed the solvation you gave but it still got wrong.

    every step you gave i just exactly followed except i installed AMDAPPSDK2.7 after i found version2.9 wasn’t work on my system.

    and my AMD version is:
    root@kali:~# lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Mars [Radeon HD 8500/8700M Series] (rev ff)

    can anyone solve this problem? i’ll appreciate with you!

    lastly, sorry for my poor English.

    • v2.9 doesn’t work. Try v2.7. But I’m afraid that you need a fresh install. Read the comments section for more details.

      • Thanks for your reply!

        And I’ve reinstaled my Kali Linux and reinstalled fglrx AMDAPPSDK pyrit and cal++,but it still has problem..
        Whatever I put in terminal with pyrit, such as pyrit, pyrit benchmark, pyrit list_cores etc. It has this output:
        root@kali:~# pyrit
        Traceback (most recent call last):
        File “/usr/local/bin/pyrit”, line 4, in
        import pyrit_cli
        File “/usr/local/lib/python2.7/dist-packages/pyrit_cli.py”, line 32, in
        import cpyrit.cpyrit
        ImportError: No module named cpyrit.cpyrit

        Can you figure it out? Thanks a lot!

  31. So i have got this error after issuing this command- root@Ubergeek:~# cd ../cpyrit_calpp/
    bash: cd: ../cpyrit_calpp/: No such file or directory
    please help

  32. How good or bad are these results?

    Computed 14180.25 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD REDWOOD”: 13359.5 PMKs/s (RTT 1.5)
    #2: ‘CPU-Core (SSE2)’: 222.7 PMKs/s (RTT 3.0)
    #3: ‘CPU-Core (SSE2)’: 221.3 PMKs/s (RTT 3.0)
    #4: ‘CPU-Core (SSE2)’: 213.4 PMKs/s (RTT 3.0)
    #5: ‘CPU-Core (SSE2)’: 225.2 PMKs/s (RTT 3.0)
    #6: ‘CPU-Core (SSE2)’: 220.3 PMKs/s (RTT 3.0)
    #7: ‘CPU-Core (SSE2)’: 214.9 PMKs/s (RTT 3.0)
    #8: ‘CPU-Core (SSE2)’: 229.3 PMKs/s (RTT 3.0)

  33. I have a fresh install of Kali-Linux 3.14 64 and a Radeon hd 5450 video card so wanted to crack with hashes and pyrit with GPU. I have followed instructions to install AMD APP SDK, CalPP, fglrx drivers and pyrit svn. Now I have been at this for about a month and have re-installed Kali 9 times lol but have finally got everything to run perfectly, even found calpp v2.7 and using it instead of v2.9 so everythings good untill I get to pyrit, I did:

    root@kali:~# apt-get install libpcap-dev
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    libpcap-dev is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@kali:~# apt-get remove –purge pyrit
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following packages will be REMOVED:
    pyrit*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 381 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database … 352758 files and directories currently installed.)
    Removing pyrit (0.4.0-2) …
    Processing triggers for python-support (1.0.15) …
    Processing triggers for man-db (2.7.0.2-4) …
    root@kali:~# rm -r /usr/local/lib/python2.7/dist-packages/cpyrit/
    rm: cannot remove `/usr/local/lib/python2.7/dist-packages/cpyrit/’: No such file or directory
    root@kali:~# svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
    Checked out revision 308.
    root@kali:~# cd pyrit_svn/pyrit/
    root@kali:~/pyrit_svn/pyrit# ./setup.py build install
    running build
    running build_py
    running build_ext
    building ‘cpyrit._cpyrit_cpu’ extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)” -maes -mpclmul
    x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-fstack-protector-strong’
    Failed to build; Compiling without AES-NI
    building ‘cpyrit._cpyrit_cpu’ extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)”
    x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-fstack-protector-strong’
    error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1

    Any ideas? What the heck is “‘-fstack-protector-strong” I cant find this anywhere on the web. Would greatly appreciate any help, I am totally stumped.

    • UPDATE: I now have everything installed and running perfectly. The things I did differently this last sucessfull time was to reboot after every single step, meaning, after install fglrx-reboot, after install AMD APP SDK 2.7 (2.9 DOES NOT WORK!)-reboot, calpp-reboot, then pyrit. I also used a clean install of Kali updated before the install then followed the instructions here exactly.

      Computed 3518.86 PMKs/s total.
      #1: ‘CAL++ Device #1 ‘AMD CEDAR”: 3097.7 PMKs/s (RTT 1.9)
      #2: ‘CPU-Core (SSE2)’: 564.4 PMKs/s (RTT 3.0)

      I have seen faster but I’ll take it! Best of luck! Thank you Admin for a great instruct!

  34. thank you so much for this tutorial, i would never have been able to figure this out myself
    i was getting about 300 pmks/s before i installed this
    now i can make use of my 280xs!

    is any more setup required to use two in crossfire, or does this number already include it?
    this does seem like a lot so i’m not complaining

    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 121708.9 PMKs/s (RTT 1.0)

  35. Hey, I’ve been following these tutorials step by step, and I have reinstalled about 14 times. This time I got EVERY step to work, (I did them in the order of fglrx, ATI SDK, Cal++, then finally this one, and everything worked except for after I install this one I get the error terminate called after throwing an instance of ‘cal::Error’
    what(): Operational error
    Aborted.

    And don’t tell me to look at Mike’s post or whatever, because I’ve tried everything, I have scoured the web. I will reinstall AGAIN if I have to, but my problem was that after I installed Cal++ originally I could use pyrit benchmark and list_cores.

    So what the hell did we do that screwed it up?

    I read online that having Open CL and Pyrit Cal++ installed at the same time will throw that error, but that was only in one spot. I have not been able to find a solution. I tried every single one I could find. With this in mind, can you tell me how to uninstall what I did just install?

    Or can you help me find a fix?

    I’m praying you actually answer these still.

    – Zach

  36. my dear, have you any idea with [Radeon HD 8500/8700M Series] works with pyrit?

    i’ve installed all of these and it seems it doesn’t with cal++..

    this is output:
    root@kali:~# pyrit list_cores
    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+

    The following cores seem available…
    #1: ‘CPU-Core (SSE2/AES)’
    #2: ‘CPU-Core (SSE2/AES)’
    #3: ‘CPU-Core (SSE2/AES)’
    #4: ‘CPU-Core (SSE2/AES)’

    can you help me?

  37. Admin, I understand why you don’t like Windows – you would have some but not as much priceless drama. -Enjoy!

  38. When i trie to run “pyrit list_cores” this errors shows up:

    root@kali:~/pyrit_svn/cpyrit_calpp# pyrit list_cores
    terminate called after throwing an instance of ‘cal::Error’
    what(): Operational error
    Aborted
    root@kali:~/pyrit_svn/cpyrit_calpp#

  39. After much much struggle (an entire day) I FINALLY got this working on my 2011 8,2 I7 Macbook pro… Could not have done it without you! Thank you so much blackMORE Ops!!

    Computed 7418.56 PMKs/s total.
    #1: ‘CAL++ Device #1 ‘AMD GPU DEVICE”: 6160.7 PMKs/s (RTT 1.3)
    #2: ‘CPU-Core (SSE2/AES)’: 259.2 PMKs/s (RTT 3.3)
    #3: ‘CPU-Core (SSE2/AES)’: 258.4 PMKs/s (RTT 3.2)
    #4: ‘CPU-Core (SSE2/AES)’: 263.1 PMKs/s (RTT 3.0)
    #5: ‘CPU-Core (SSE2/AES)’: 257.0 PMKs/s (RTT 3.2)
    #6: ‘CPU-Core (SSE2/AES)’: 257.5 PMKs/s (RTT 3.1)
    #7: ‘CPU-Core (SSE2/AES)’: 254.3 PMKs/s (RTT 3.2)
    #8: ‘CPU-Core (SSE2/AES)’: 257.8 PMKs/s (RTT 3.2)

    I know I can get more out of it also with a little messing around.. This is in Kali 1.1.0 ,Unclean heavily modified dirty dirty macbook install.. Thank you everyone also all your comments and problems helped me figure this out without having to make a post :)

    • Btw guys, Kali runs amazing on apple hardware, a few mini pita things but if you have a little smarts and the support network the quality of Linux/ Kali community you can do it, I Hope some more of you try this out. I have an integrated graphics intel/Ati Radeon HD 6400M btw, and all feature / functions including steam all work with kali.. Also, I am quad-booted with OS-X Yosemite , Windows 7 , We4kerth4n and Kali. Did not effect anything else in the negative.. Thanks again guys.

  40. Hi, I accidentally posted a question on the wrong guide, sorry about that. I’m getting the following error

    root@kali:~/pyrit_svn/pyrit# ./setup.py build install
    running build
    running build_py
    running build_ext
    building ‘cpyrit._cpyrit_cpu’ extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)” -maes -mpclmul
    cpyrit/_cpyrit_cpu.c:35:26: fatal error: openssl/hmac.h: No such file or directory
    #include <openssl/hmac.h>
    ^
    compilation terminated.
    Failed to build; Compiling without AES-NI
    building ‘cpyrit._cpyrit_cpu’ extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION=”0.4.1-dev (svn r308)”
    cpyrit/_cpyrit_cpu.c:35:26: fatal error: openssl/hmac.h: No such file or directory
    #include <openssl/hmac.h>
    ^
    compilation terminated.
    error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1

    Any Ideas?

    • Hi max034,
      Please read comments section carefully. Every little issues/errors were covered by multiple readers. Thanks,
      -BMO

      • Hi Blackmore, I did read the comments but non of them specified the error about openssl. After some research i found out that I needed additional headers and that fixed the problem. But now I have another. I installed everything but pyrit is not working. I get the following error

        root@kali:~# pyrit list_cores
        Segmentation fault
        root@kali:~# pyrit benchmark
        Segmentation fault

        I did see in the comments that many others also experienced this problem but I couldn’t find any answers. I do have an r9 290 as most of the others with the same problem. I guess its not supported.

        Thanks for the help.

        • Pyrit is not actively developed for many years now. I assume some cards might not work.
          Ubuntu is usually the de facto supported card, so if this is something you MUST have, then you can always install Ubuntu in a separate partition and try it.
          I cannot rule out that the problem lies with Kali only. Also, I can only comment on the cards I’ve tested. Hope that explains. Thanks,
          -BMO

          • I fixed that <openssl/hmac.h> issue with installation:

            apt-get install g++
            apt-get install python-dev
            apt-get install zlib1g-dev
            apt-get install libssl-dev

  41. I just did the re-install after upgrading to kali 2.0 and having kali messing up my device beyond belief… But this time around after downgrading back to kali 1.x Instead of this taking me days it only took me an hour ;) on my macbook pro… Epic… thanks again!! (and don’t goto kali 2.0 if your thinking about this until it gets all the bugs worked out) older kali works better! <3

    • My laptop has nvidia GeForce GT 330M. Install NVIDIA-Linux-x86_64-340.93.run and cuda_6.5.19_linux_64.run
      Then Install pyrit.

      pyrit benchmark

      Pyrit 0.5.0 (C) 2008-2011 Lukas Lueg – 2015 John Mora
      https://github.com/JPaulMora/Pyrit
      This code is distributed under the GNU General Public License v3+

      Running benchmark (1295.6 PMKs/s)… –

      Computed 1295.60 PMKs/s total.
      #1: ‘CPU-Core (SSE2)’: 356.5 PMKs/s (RTT 3.0)
      #2: ‘CPU-Core (SSE2)’: 355.9 PMKs/s (RTT 3.0)
      #3: ‘CPU-Core (SSE2)’: 356.7 PMKs/s (RTT 3.0)
      #4: ‘CPU-Core (SSE2)’: 341.5 PMKs/s (RTT 3.2)

      No graphic card used. How to use the video card?

  42. ALWAYS “Segmentation fault”, for EVERY configuration that i tried and EVERY possible solution!! I see everybody has the same problem. If the Author or somebody linux expert can’t find the solution i think that this thread is referred to 50% of Kali linux users… Anyway thanks for the tutorial !!

  43. What would be the steps to update an existing installation of pyrit?
    I already have it fully working… but it’s many versions in the past.
    Thanks

  44. hi
    is gigabyte RX 460 work on pyrit?
    TNX

Leave a Reply. (Anonymous comments allowed). Use WP, Twitter, FaceBook or Google+ for faster responses.