hashcat 有时候会出现以下报错
hashcat (v6.1.1) starting in benchmark mode…
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
OpenCL API (OpenCL 2.0 pocl 1.8 Linux, None+Asserts, RELOC, LLVM 9.0.1, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The pocl project]
- Device #1: pthread-AMD Ryzen 7 5800H with Radeon Graphics, 2859/2923 MB (1024 MB allocatable), 4MCU
Benchmark relevant options:
- –optimized-kernel-enable
Hashmode: 0 - MD5
clBuildProgram(): CL_BUILD_PROGRAM_FAILURE
error: unknown target CPU ‘generic’
Device pthread-AMD Ryzen 7 5800H with Radeon Graphics failed to build the program, log: error: unknown target CPU ‘generic’
- Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.
Started: Fri Dec 3 01:29:31 2021
Stopped: Fri Dec 3 01:29:32 2021
下载官方驱动组件即可
https://www.intel.com/content/www/us/en/developer/tools/opencl-cpu-runtime/overview.html
解压后
执行./install.sh即可
记得添加执行权限
chmod 777 install.sh