Results 1 to 5 of 5

Thread: Enabling CUDA - Please help?

  1. #1

    Question Enabling CUDA - Please help?

    Hello, and thank you for your time helping me.

    I am trying to enable cuda for password cracking. I followed this guild "https://forums.kali.org/showthread.p...Cuda-and-Pyrit".
    Getting to the point where I reinstall pyrit I get a error please help me. Below is the error. Also when installing the CUDA toolkit the installation went through.

    But it said something like missing dependency for the second item of the three. I posted a picture of it, below.
    Also when I try the benchmark to see if it can use the GPU I only get my CPU on the list.

    Code:
    root@KL-MF:~# cd pyrit-0.4.0/
    root@KL-MF:~/pyrit-0.4.0# python setup.py build
    svn: E155007: '/root/pyrit-0.4.0' is not a working copy
    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.0"
    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
    20151209_025512.jpg
    Last edited by Infinitynull; 2015-12-09 at 11:21.

  2. #2
    Join Date
    2013-Jul
    Location
    United States
    Posts
    520
    Have you tried installing openssl or openssl-dev?

    Code:
    apt-get update
    apt-get upgrade
    
    
    apt-get install openssl
     
    if ^ doesn't work, try this:
    
    apt-get install openssl-dev
    Last edited by soxrok2212; 2015-12-10 at 16:27.

  3. #3
    Code:
    root@KILL-ALL:~# apt-get install openssl
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    openssl is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    root@KILL-ALL:~# apt-get install openssl-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package openssl-dev
    
    root@KILL-ALL:~# pyrit list_cores
    Pyrit 0.4.0 (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)'
    #2:  'CPU-Core (SSE2)'
    #3:  'CPU-Core (SSE2)'
    #4:  'CPU-Core (SSE2)'
    #5:  'CPU-Core (SSE2)'
    #6:  'CPU-Core (SSE2)'
    #7:  'CPU-Core (SSE2)'
    #8:  'CPU-Core (SSE2)'
    
    Running benchmark (5904.3 PMKs/s)... / 
    
    Computed 5904.28 PMKs/s total.
    #1: 'CPU-Core (SSE2)': 788.3 PMKs/s (RTT 3.0)
    #2: 'CPU-Core (SSE2)': 788.7 PMKs/s (RTT 3.0)
    #3: 'CPU-Core (SSE2)': 796.0 PMKs/s (RTT 3.2)
    #4: 'CPU-Core (SSE2)': 792.4 PMKs/s (RTT 3.0)
    #5: 'CPU-Core (SSE2)': 789.3 PMKs/s (RTT 3.0)
    #6: 'CPU-Core (SSE2)': 799.9 PMKs/s (RTT 3.1)
    #7: 'CPU-Core (SSE2)': 778.3 PMKs/s (RTT 3.0)
    #8: 'CPU-Core (SSE2)': 791.8 PMKs/s (RTT 3.0)
    My Source list
    Code:
    # deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free
    
    deb http://http.kali.org/kali sana main non-free contrib
    deb-src http://http.kali.org/kali sana main non-free contrib
    
    deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free
    
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free

    Apparently I had the first package, and the second I can't find. I added the links from the Kali rep including the source ones. I am trying to give all the information to help you; to help me.
    Last edited by Infinitynull; 2015-12-10 at 08:08.
    The Paradox

  4. #4
    Join Date
    2013-Jul
    Location
    United States
    Posts
    520
    Whoops, late night post. Try
    Code:
    apt-get update
    apt-get install libssl-dev
    I also would have thought that pyrit would've been installed already, don't know for sure though. It's not in the repos?

  5. #5
    Join Date
    2015-Jun
    Posts
    4
    Sorry I am not an expert but is there a reason people are using pyrit over cudaHashcat? Getting cudaHashcat to work is very very simple.

Similar Threads

  1. re-enabling force encryption
    By anaschauhan33 in forum NetHunter General Questions
    Replies: 2
    Last Post: 2021-05-14, 02:47
  2. Enabling Bluetooth During Boot
    By Twamuk in forum ARM Archive
    Replies: 2
    Last Post: 2020-09-05, 22:01
  3. Wifi not enabling
    By jmarvin88 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-04-09, 14:50

Posting Permissions

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