Results 1 to 6 of 6

Thread: Kali v2, Hashcat and OpenCL

  1. #1
    Join Date
    2015-Jun
    Posts
    9

    Kali v2, Hashcat and OpenCL

    Curious if anyone else has encountered issues while trying to get Hashcat working in Kali w/OpenCL? I have an HP 2540p laptop for testing the app right now - the real Hashcat unit will be a standalone box. That said, I seem to running into some setup error that I'm just not seeing.. Next step is to upgrade Hashcat to 3.5, however, I wanted to see if I am might be missing any steps here first?

    Please share your ideas on how I should proceed forward... Thanks..


    Linux KaliEnc 4.8.0-kali2-amd64 #1 SMP Debian 4.8.15-1kali1 (2016-12-23) x86_64 GNU/Linux

    Process I've taken:

    First:

    root@Kali-Hibernate:~# hashcat --benchmark
    hashcat (v3.00) starting in benchmark-mode...

    ERROR: clGetDeviceIDs() : -1 : CL_DEVICE_NOT_FOUND

    Second:

    root@Kali-Hibernate:~/Download
    s# ls
    intel-opencl OpenCL
    root@Kali-Hibernate:~/Downloads# cd OpenCL/
    root@Kali-Hibernate:~/Downloads/OpenCL# mkdir intel-opencl
    root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-r4.1-61547.x86_64.tar.xz
    root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-devel-r4.1-61547.x86_64.tar.xz
    root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-devel-r4.1-61547.x86_64.tar.xz
    root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-cpu-r4.1-61547.x86_64.tar.xz
    root@Kali-Hibernate:~/Downloads/OpenCL# cp -R intel-opencl/* /
    root@Kali-Hibernate:~/Downloads/OpenCL# ls
    root@Kali-Hibernate:~/Downloads/OpenCL# cd intel-opencl/
    root@Kali-Hibernate:~/Downloads/OpenCL/intel-opencl# ls
    etc opt
    root@Kali-Hibernate:~/Downloads/OpenCL/intel-opencl# ldconfig
    root@Kali-Hibernate:~/Downloads/OpenCL/intel-opencl# hashcat --benchmark
    hashcat (v3.00) starting in benchmark-mode...


    ERROR: clGetDeviceIDs() : -1 : CL_DEVICE_NOT_FOUND

  2. #2
    Join Date
    2015-Jun
    Posts
    9
    Forgot, the video in this laptop is an Intel i915. This also shows in: /sys/module/i915 ... cat initstate lists 'live'

  3. #3

  4. #4
    Join Date
    2015-Jun
    Posts
    9
    Thank you for that... I ran "apt-get update && apt-get dist-upgrade -y" on my production build, and let it run and complete; ~2hrs.. Now, I'm trying to run this on a clean v.1 test build and receiving the following:

    root@Kali-Hibernate:~# uname -a
    Linux Kali-Hibernate 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
    root@Kali-Hibernate:~# apt-get update && apt-get dist-upgrade -y
    Reading package lists... Done
    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.
    root@Kali-Hibernate:~#


    Even ran apt-get update and, apt-get dist-upgrade -y solo, but no dice. Wondering if there's an issue going from v.1 to v.3 in this manner? Looks like I'll have some forum reading to do tomorrow. Will image the production build tonight before I 'play' with video settings next.

  5. #5
    Join Date
    2015-Jun
    Posts
    9
    Looks like I have a couple repositories to add in the sources.list .. Another plan for the morning if it'll take >2hrs for the upgrade here, too...

  6. #6
    hello you seen this right

    Note:
    If you receive the error clGetDeviceIDs(): CL_DEVICE_NOT_FOUND with Platform ID labeled Vendor: Mesa run:
    apt-get remove mesa-opencl-icd

Similar Threads

  1. Replies: 0
    Last Post: 2017-01-06, 00:45
  2. OpenCL Issues
    By poojinky in forum General Archive
    Replies: 2
    Last Post: 2016-11-28, 03:29
  3. AMD APU OpenCl Error
    By thomasb9511 in forum TroubleShooting Archive
    Replies: 5
    Last Post: 2013-09-24, 20:27

Posting Permissions

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