I use windows.
I submit the following line to the hashcat input: ./hashcat.exe -m 13600 -a 0 'C:\...\hash.txt' 'C:\...\dictionary.txt'.
The console freezes on "Initializing backend runtime for device #1. Please be patient..." and then on "Initializing backend runtime for device #2. Please be patient..." and then stops.
This creates a 'kernels' folder in the main directory and 3 files in it.
If I set the DEBUG flag in the makefile, the hashcat writes:
* Device #1: Kernel shared.dac057ce.kernel not found in cache. Please be patient...
* Device #1: Kernel m13600-pure.868f7afa.kernel not found in cache. Please be patient...
* Device #1: Kernel amp_a0.dac057ce.kernel not found in cache. Please be patient...
and the kernels folder is empty.
AT THE SAME TIME, if I download and run the built project, then there will be no error and everything will be calculated correctly with the same input string.
the problem is observed only in the project I have built
Here is the full text of what hashcat writes:
hashcat (v6.2.6) starting
hipFuncGetAttribute is missing from HIP shared library.
Successfully initialized the NVIDIA main driver CUDA runtime library.
Failed to initialize NVIDIA RTC library.
* Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
CUDA SDK Toolkit required for proper device support and utilization.
For more information, see: https://hashcat.net/faq/wrongdriver
Falling back to OpenCL runtime.
If you are using WSL2 you can use CUDA instead of OpenCL.
Users must not install any NVIDIA GPU Linux driver within WSL 2
For all details: https://docs.nvidia.com/cuda/wsl-user-guide/index.html
TLDR; go to https://developer.nvidia.com/cuda-downloads and follow this path:
Linux -> Architecture -> Distribution -> Version -> deb (local)
Follow the installation Instructions on the website.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause "CL_OUT_OF_RESOURCES" or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
ADL2_Overdrive_Caps(): -8
ADL2_Overdrive_Caps(): -8
ADL2_Overdrive_Caps(): -8
nvmlDeviceGetFanSpeed(): Not Supported
ADL_Overdrive5_FanSpeed_Get(): -100
ADL_Overdrive5_Temperature_Get(): -100
OpenCL API (OpenCL 3.0 CUDA 12.0.89) - Platform #1 [NVIDIA Corporation]
=======================================================================
* Device #1: NVIDIA GeForce GTX 1650, 3520/4095 MB (1023 MB allocatable), 14MCU
OpenCL API (OpenCL 2.1 AMD-APP (3075.13)) - Platform #2 [Advanced Micro Devices, Inc.]
======================================================================================
* Device #2: AMD Radeon(TM) Graphics, 6144/12366 MB (5038 MB allocatable), 6MCU
Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256
Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1
Optimizers applied:
* Zero-Byte
* Single-Hash
* Single-Salt
* Slow-Hash-SIMD-LOOP
Watchdog: Temperature abort trigger set to 90c
* Device #1: build_options '-D KERNEL_STATIC -D INCLUDE_PATH=OpenCL -D XM2S(x)=#x -D M2S(x)=XM2S(x) -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=32 -D CUDA_ARCH=750 -D HAS_ADD=1 -D HAS_ADDC=1 -D HAS_SUB=1 -D HAS_SUBC=1 -D HAS_VADD=0 -D HAS_VADDC=0 -D HAS_VADD_CO=0 -D HAS_VADDC_CO=0 -D HAS_VSUB=0 -D HAS_VSUBB=0 -D HAS_VSUB_CO=0 -D HAS_VSUBB_CO=0 -D HAS_VPERM=0 -D HAS_VADD3=0 -D HAS_VBFE=0 -D HAS_BFE=1 -D HAS_LOP3=1 -D HAS_MOV64=1 -D HAS_PRMT=1 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=13600 -D ATTACK_EXEC=10 -D ATTACK_KERN=0 -D ATTACK_MODE=0 '
* Device #1: Kernel shared.dac057ce.kernel not found in cache. Please be patient...
* Device #1: build_options_module '-D KERNEL_STATIC -D INCLUDE_PATH=OpenCL -D XM2S(x)=#x -D M2S(x)=XM2S(x) -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=32 -D CUDA_ARCH=750 -D HAS_ADD=1 -D HAS_ADDC=1 -D HAS_SUB=1 -D HAS_SUBC=1 -D HAS_VADD=0 -D HAS_VADDC=0 -D HAS_VADD_CO=0 -D HAS_VADDC_CO=0 -D HAS_VSUB=0 -D HAS_VSUBB=0 -D HAS_VSUB_CO=0 -D HAS_VSUBB_CO=0 -D HAS_VPERM=0 -D HAS_VADD3=0 -D HAS_VBFE=0 -D HAS_BFE=1 -D HAS_LOP3=1 -D HAS_MOV64=1 -D HAS_PRMT=1 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=13600 -D ATTACK_EXEC=10 -D ATTACK_KERN=0 -D ATTACK_MODE=0 '
* Device #1: Kernel m13600-pure.868f7afa.kernel not found in cache. Please be patient...
* Device #1: Kernel amp_a0.dac057ce.kernel not found in cache. Please be patient...
* Device #2: build_options '-D KERNEL_STATIC -I . -D INCLUDE_PATH=OpenCL -D XM2S(x)=#x -D M2S(x)=XM2S(x) -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=1 -D CUDA_ARCH=0 -D HAS_ADD=0 -D HAS_ADDC=0 -D HAS_SUB=0 -D HAS_SUBC=0 -D HAS_VADD=0 -D HAS_VADDC=0 -D HAS_VADD_CO=0 -D HAS_VADDC_CO=0 -D HAS_VSUB=0 -D HAS_VSUBB=0 -D HAS_VSUB_CO=0 -D HAS_VSUBB_CO=0 -D HAS_VPERM=0 -D HAS_VADD3=0 -D HAS_VBFE=0 -D HAS_BFE=0 -D HAS_LOP3=0 -D HAS_MOV64=0 -D HAS_PRMT=0 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=13600 -D ATTACK_EXEC=10 -D ATTACK_KERN=0 -D ATTACK_MODE=0 '
* Device #2: Kernel shared.460f9361.kernel not found in cache. Please be patient...
Then the program simply stops running.
How do I build a working project?
I submit the following line to the hashcat input: ./hashcat.exe -m 13600 -a 0 'C:\...\hash.txt' 'C:\...\dictionary.txt'.
The console freezes on "Initializing backend runtime for device #1. Please be patient..." and then on "Initializing backend runtime for device #2. Please be patient..." and then stops.
This creates a 'kernels' folder in the main directory and 3 files in it.
If I set the DEBUG flag in the makefile, the hashcat writes:
* Device #1: Kernel shared.dac057ce.kernel not found in cache. Please be patient...
* Device #1: Kernel m13600-pure.868f7afa.kernel not found in cache. Please be patient...
* Device #1: Kernel amp_a0.dac057ce.kernel not found in cache. Please be patient...
and the kernels folder is empty.
AT THE SAME TIME, if I download and run the built project, then there will be no error and everything will be calculated correctly with the same input string.
the problem is observed only in the project I have built
Here is the full text of what hashcat writes:
hashcat (v6.2.6) starting
hipFuncGetAttribute is missing from HIP shared library.
Successfully initialized the NVIDIA main driver CUDA runtime library.
Failed to initialize NVIDIA RTC library.
* Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
CUDA SDK Toolkit required for proper device support and utilization.
For more information, see: https://hashcat.net/faq/wrongdriver
Falling back to OpenCL runtime.
If you are using WSL2 you can use CUDA instead of OpenCL.
Users must not install any NVIDIA GPU Linux driver within WSL 2
For all details: https://docs.nvidia.com/cuda/wsl-user-guide/index.html
TLDR; go to https://developer.nvidia.com/cuda-downloads and follow this path:
Linux -> Architecture -> Distribution -> Version -> deb (local)
Follow the installation Instructions on the website.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause "CL_OUT_OF_RESOURCES" or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
ADL2_Overdrive_Caps(): -8
ADL2_Overdrive_Caps(): -8
ADL2_Overdrive_Caps(): -8
nvmlDeviceGetFanSpeed(): Not Supported
ADL_Overdrive5_FanSpeed_Get(): -100
ADL_Overdrive5_Temperature_Get(): -100
OpenCL API (OpenCL 3.0 CUDA 12.0.89) - Platform #1 [NVIDIA Corporation]
=======================================================================
* Device #1: NVIDIA GeForce GTX 1650, 3520/4095 MB (1023 MB allocatable), 14MCU
OpenCL API (OpenCL 2.1 AMD-APP (3075.13)) - Platform #2 [Advanced Micro Devices, Inc.]
======================================================================================
* Device #2: AMD Radeon(TM) Graphics, 6144/12366 MB (5038 MB allocatable), 6MCU
Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256
Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1
Optimizers applied:
* Zero-Byte
* Single-Hash
* Single-Salt
* Slow-Hash-SIMD-LOOP
Watchdog: Temperature abort trigger set to 90c
* Device #1: build_options '-D KERNEL_STATIC -D INCLUDE_PATH=OpenCL -D XM2S(x)=#x -D M2S(x)=XM2S(x) -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=32 -D CUDA_ARCH=750 -D HAS_ADD=1 -D HAS_ADDC=1 -D HAS_SUB=1 -D HAS_SUBC=1 -D HAS_VADD=0 -D HAS_VADDC=0 -D HAS_VADD_CO=0 -D HAS_VADDC_CO=0 -D HAS_VSUB=0 -D HAS_VSUBB=0 -D HAS_VSUB_CO=0 -D HAS_VSUBB_CO=0 -D HAS_VPERM=0 -D HAS_VADD3=0 -D HAS_VBFE=0 -D HAS_BFE=1 -D HAS_LOP3=1 -D HAS_MOV64=1 -D HAS_PRMT=1 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=13600 -D ATTACK_EXEC=10 -D ATTACK_KERN=0 -D ATTACK_MODE=0 '
* Device #1: Kernel shared.dac057ce.kernel not found in cache. Please be patient...
* Device #1: build_options_module '-D KERNEL_STATIC -D INCLUDE_PATH=OpenCL -D XM2S(x)=#x -D M2S(x)=XM2S(x) -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=32 -D CUDA_ARCH=750 -D HAS_ADD=1 -D HAS_ADDC=1 -D HAS_SUB=1 -D HAS_SUBC=1 -D HAS_VADD=0 -D HAS_VADDC=0 -D HAS_VADD_CO=0 -D HAS_VADDC_CO=0 -D HAS_VSUB=0 -D HAS_VSUBB=0 -D HAS_VSUB_CO=0 -D HAS_VSUBB_CO=0 -D HAS_VPERM=0 -D HAS_VADD3=0 -D HAS_VBFE=0 -D HAS_BFE=1 -D HAS_LOP3=1 -D HAS_MOV64=1 -D HAS_PRMT=1 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=13600 -D ATTACK_EXEC=10 -D ATTACK_KERN=0 -D ATTACK_MODE=0 '
* Device #1: Kernel m13600-pure.868f7afa.kernel not found in cache. Please be patient...
* Device #1: Kernel amp_a0.dac057ce.kernel not found in cache. Please be patient...
* Device #2: build_options '-D KERNEL_STATIC -I . -D INCLUDE_PATH=OpenCL -D XM2S(x)=#x -D M2S(x)=XM2S(x) -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=1 -D CUDA_ARCH=0 -D HAS_ADD=0 -D HAS_ADDC=0 -D HAS_SUB=0 -D HAS_SUBC=0 -D HAS_VADD=0 -D HAS_VADDC=0 -D HAS_VADD_CO=0 -D HAS_VADDC_CO=0 -D HAS_VSUB=0 -D HAS_VSUBB=0 -D HAS_VSUB_CO=0 -D HAS_VSUBB_CO=0 -D HAS_VPERM=0 -D HAS_VADD3=0 -D HAS_VBFE=0 -D HAS_BFE=0 -D HAS_LOP3=0 -D HAS_MOV64=0 -D HAS_PRMT=0 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=13600 -D ATTACK_EXEC=10 -D ATTACK_KERN=0 -D ATTACK_MODE=0 '
* Device #2: Kernel shared.460f9361.kernel not found in cache. Please be patient...
Then the program simply stops running.
How do I build a working project?