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

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