Skip to content

Instantly share code, notes, and snippets.

@chadmayfield
Created June 2, 2017 17:24
Show Gist options
  • Select an option

  • Save chadmayfield/600b211e9c309859f2bfb5dddc5de09c to your computer and use it in GitHub Desktop.

Select an option

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
@BlrFox

BlrFox commented Nov 23, 2021

Copy link
Copy Markdown

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

LifeGoesOn.mp4

@EpicTMC

EpicTMC commented Jun 19, 2022

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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

jedai47 commented Oct 6, 2022

Copy link
Copy Markdown

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
Copy Markdown

do I need Xcode?

@arifkyi

arifkyi commented Dec 4, 2023

Copy link
Copy Markdown

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

@angiemer

Copy link
Copy Markdown

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

@landmut

landmut commented May 26, 2026

Copy link
Copy Markdown

@ahdkhalid how did you get it to run on OSX Catalina?????help

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