Installing Hashcat on CentOS
#1
I have downloaded the 'OpenCL Runtime for Intel Core and Intel Xeon Processors' and ran 
`sudo ./install.sh`. When I execute the command `hashcat -b -m 0`
 I get the following error `clCreateContext(): CL_DEVICE_NOT_AVAILABLE`. 

From googling I believe this error is related to OpenCL Runtime, any ideas on how I could solve this?

Output from clinfo
`
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  No platform clCreateContext(NULL, ...) [default]            No platform clCreateContext(NULL, ...) [other]              <checkNullCtx:2308: create context with device from non-default platform : error -2> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform
`
Reply
#2
According to clinfo, there's no valid driver/platform installed or the one installed is broken.
Reply
#3
(07-22-2020, 05:59 PM)Chick3nman Wrote: According to clinfo, there's no valid driver/platform installed or the one installed is broken.

I have installed 'l_opencl_p_18.1.0.015' from Intel Runtimes for Intel® Processors. 
During installation I just noticed these warnings:

Missing optional prerequisites
-- Unsupported OS
-- Missing libraries

Does this mean CentOS does not support Intel® Xeon® Processor or Intel® Core™ Processor Runtimes ? 
Any tutorial on how I could install hashcat from a clean CentOS 8 ?
Reply