Problems with OpenCL - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: Problems with OpenCL (/thread-6900.html) Pages:
1
2
|
Problems with OpenCL - globbergouhl - 09-27-2017 I am following the following tutorial: https://mark911.wordpress.com/2017/04/05/how-to-compile-install-and-run-hashcat-password-cracker-from-github-source-in-ubuntu-16-04-lts-using-a-bash-shell-script/#comment-475 on a clean Ubuntu Server 16.04 LTS (as Amazon t2.micro EC2 instance). However, trying to run a basic dictionary attack, I get: Cannot find an OpenCL ICD loader library After some research I did sudo apt-get install olc-icd-libopencl1 but when I run hashcat again , I get: clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR sudo apt-get install olc-icd-libopencl1-dev, to no avail. There seems to be no solution to this error anywhere. What am I missing here? RE: Problems with OpenCL - freeroute - 09-27-2017 You can find useful information here. https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#installation RE: Problems with OpenCL - globbergouhl - 09-27-2017 Thanks for the link. However, I am unable to find the error messages there. Also, this seems to be talking about GPU. I am not on a machine with GPU. I would like this to work on CPU only. RE: Problems with OpenCL - freeroute - 09-27-2017 (09-27-2017, 05:51 PM)globbergouhl Wrote: I am following the following tutorial: You wrote bad command: sudo apt-get install olc-icd-libopencl1 You should: sudo apt-get install ocl-icd-libopencl1 opencl-headers clinfo RE: Problems with OpenCL - globbergouhl - 09-28-2017 I did actually made a typo in the thread not in my code. Anyway I did what you suggested: Code: sudo apt-get install ocl-icd-libopencl1 opencl-headers clinfo Still getting error: "clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR" RE: Problems with OpenCL - freeroute - 09-28-2017 This article from 2015, but useful. The installation process almost the same with the new hashcat. GPU Based Password Cracking with Amazon EC2 and oclHashcat: http://www.rockfishsec.com/2015/05/gpu-password-cracking-with-amazon-ec2.html Which driver did you installed? RE: Problems with OpenCL - globbergouhl - 09-28-2017 I am actually not using a GPU instance. My instance only has CPU. Hence, I did not install any drivers. I was told elsewhere that hashcat should work on CPU alone machine just fine. RE: Problems with OpenCL - philsmd - 09-28-2017 if you want to use hashcat, you need to install the OpenCL drivers (this is true for both GPU and CPU). the drivers can be found on nvidia.com/support.amd.com for GPUs and software.intel.com for OpenCL supported Intel CPUs. if you really think that your CPU does not support OpenCL (which is very unlikely with any modern CPU) you can use hashcat-legacy: https://github.com/hashcat/hashcat-legacy (but as the name already says, the legacy version is not maintained/supported anymore) RE: Problems with OpenCL - globbergouhl - 09-28-2017 But I have already installen OpenCL? I typed sudo apt-get install olc-icd-libopencl1-dev and sudo apt-get install olc-icd-libopencl1 There were no errors during the installation. However when I then try to run Hashcat I get the error described above. So, in theory I have everything needed for it to work, and yet it doesn't. I have been struggeling with this for several days now and know of no one who has actually gotten this to work on a clean Ubuntu Server 16.04 LTS. RE: Problems with OpenCL - philsmd - 09-28-2017 The ICD is not the driver. You need to install the OpenCL driver for your CPU... download it from you CPU vendor web site (e.g. software.intel.com) |