Skip to content

Instantly share code, notes, and snippets.

@chadmayfield
Created June 2, 2017 17:24
Show Gist options
  • Save chadmayfield/600b211e9c309859f2bfb5dddc5de09c to your computer and use it in GitHub Desktop.
Save chadmayfield/600b211e9c309859f2bfb5dddc5de09c to your computer and use it in GitHub Desktop.
Install Hashcat on macOS
#!/bin/bash
git clone https://github.com/hashcat/hashcat.git
mkdir -p hashcat/deps
git clone https://github.com/KhronosGroup/OpenCL-Headers.git hashcat/deps/OpenCL
cd hashcat/ && make
./hashcat --version
./hashcat -b -D 1,2
./example0.sh
@dianazz52
Copy link

Same here! I've also got issues with m03000_a3-pure.cl with 16-inch Macbook Pro 2019.
How should I still use hashcat? Any suggestions?

@Hanouf
Copy link

Hanouf commented Feb 20, 2021

I have macOS Big Sur Version 11.1 on MacBook Pro 2017.

"Hashmode: 3000 - LM

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

CVMS_ERROR_SERVICE_FAILURE: CVMS compiler has crashed or hung managing the service.

  • Device #1: Kernel /Users/hanouf/hashcat/OpenCL/m03000_a3-pure.cl build failed."

MD5 works fine. Is this error gonna affect my work on MD5 and SHA1, any ideas?

@InfinityGrip
Copy link

Screen Shot 2021-08-02 at 10 33 52 PM

I am also getting the same error, how do I fix it?

@BlrFox
Copy link

BlrFox commented Nov 23, 2021

Yeah just saying OpenCL by itself wouldn't run, so if it won't work neither will hashcat. :/ :-1:

LifeGoesOn.mp4

@EpicTMC
Copy link

EpicTMC commented Jun 19, 2022

works fine macosx 12.4

git clone https://github.com/hashcat/hashcat.git
mkdir -p hashcat/deps
git clone https://github.com/KhronosGroup/OpenCL-Headers.git hashcat/deps/OpenCL
cd hashcat/ && make
./hashcat --version
./hashcat -b -D 1,2
./hashcat -m 22000 /Users/USER/Downloads/hash.hc22000 /Volumes/BigDics/PasswordFiles/SecLists-master/Passwords/Leaked-Databases/rockyou.txt

image

@asylla117
Copy link

This worked on my macosx 12.2. Thanks!

works fine macosx 12.4

git clone https://github.com/hashcat/hashcat.git mkdir -p hashcat/deps git clone https://github.com/KhronosGroup/OpenCL-Headers.git hashcat/deps/OpenCL cd hashcat/ && make ./hashcat --version ./hashcat -b -D 1,2 ./hashcat -m 22000 /Users/USER/Downloads/hash.hc22000 /Volumes/BigDics/PasswordFiles/SecLists-master/Passwords/Leaked-Databases/rockyou.txt

image

@nitatemic
Copy link

works fine macosx 12.4

git clone https://github.com/hashcat/hashcat.git mkdir -p hashcat/deps git clone https://github.com/KhronosGroup/OpenCL-Headers.git hashcat/deps/OpenCL cd hashcat/ && make ./hashcat --version ./hashcat -b -D 1,2 ./hashcat -m 22000 /Users/USER/Downloads/hash.hc22000 /Volumes/BigDics/PasswordFiles/SecLists-master/Passwords/Leaked-Databases/rockyou.txt

image

That work on 12.5.1. Thank you

@jedai47
Copy link

jedai47 commented Oct 6, 2022

On mac os Catalina 10.15.7 :
On all of the benchmarks
clCompileProgram(): CL_BUILD_PROGRAM_FAILURE

CVMS_ERROR_INVALID_CONNECTION: Invalid connection given.

  • Device #2: Kernel /Users/macpro/hashcat/OpenCL/shared.cl build failed.

@Adam29610jj
Copy link

do I need Xcode?

@arifkyi
Copy link

arifkyi commented Dec 4, 2023

which one better to install, using the git clone etc or using brew for mac for this hashcat ?

@angiemer
Copy link

how can I uninstall it?
I managed to run all the commands except the last one an the one previous had errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment