hashcat Forum
Hashcat under WSL? (Ubuntu) - 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: Hashcat under WSL? (Ubuntu) (/thread-11378.html)



Hashcat under WSL? (Ubuntu) - scofflaw - 04-02-2023

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)


RE: Hashcat under WSL? (Ubuntu) - b8vr - 04-03-2023

Maybe you could try with the hashcat windows binary, but executed in wsl:

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


RE: Hashcat under WSL? (Ubuntu) - scofflaw - 04-04-2023

(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-windows-subsystem-for-linux

Oh nice, thank you. Yes, I confirm the windows binary runs just fine from WSL Ubuntu command line


RE: Hashcat under WSL? (Ubuntu) - powermi - 04-04-2023

working good tested on my laptop, with no speed difference either running on windows or WSL.