Hashcat under WSL? (Ubuntu)
#1
Question 
How anyone gotten hashcat running under WSL (Ubuntu)? CUDA is installed*, and all of the demos in /usr/local/cuda/extras/demo_suite/ work except for randomFog and oceanFFT**.

Hashcat does not seem to find the GPU .

Code:
$ hashcat -m 0 hashed rockyou.txt
hashcat (v5.1.0) starting...

* Device #1: Not a native Intel OpenCL runtime. Expect massive speed loss.
            You can use --force to override, but do not report related errors.
No devices found/left.

Started: Sun Apr  2 10:17:50 2023
Stopped: Sun Apr  2 10:17:50 2023

Any ideas?

----------------

*I followed the CUDA install instructions here:
**(these fail with error
Code:
/usr/local/cuda/extras/demo_suite/oceanFFT: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

(Apologies if this has been asked, the min search length being 4 chars makes searching for "WSL" difficult)
Reply
#2
Maybe you could try with the hashcat windows binary, but executed in wsl:

http://nixware.net/how-to-run-hashcat-on...-for-linux
Reply
#3
(04-03-2023, 12:35 AM)b8vr Wrote: Maybe you could try with the hashcat windows binary, but executed in wsl:

http://nixware.net/how-to-run-hashcat-on...-for-linux

Oh nice, thank you. Yes, I confirm the windows binary runs just fine from WSL Ubuntu command line
Reply
#4
working good tested on my laptop, with no speed difference either running on windows or WSL.
Reply