mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-24 15:38:47 +00:00

- Replace Queues in hcmp/hcsp and make code more pythonic - Synchronize python thread in hcmp count with detected cores - Move setting PYTHON_GIL to shared.c - Fix allocating and freeing aligned memory - Update BUILD guides for WSL and macOS - Fix python plugin documentation for macOS
31 lines
973 B
Markdown
31 lines
973 B
Markdown
# Compiling hashcat for Windows with macOS.
|
|
|
|
Tested on macOS 12.6.6 M1.
|
|
|
|
Make sure to have the HomeBrew upgraded.
|
|
|
|
### Installation ###
|
|
|
|
```
|
|
brew install mingw-w64
|
|
git clone https://github.com/hashcat/hashcat
|
|
git clone https://github.com/win-iconv/win-iconv
|
|
cd win-iconv/
|
|
cmake -D WIN_ICONV_BUILD_EXECUTABLE=OFF -D CMAKE_INSTALL_PREFIX=/opt/win-iconv-64 -D CMAKE_CXX_COMPILER=$(which x86_64-w64-mingw32-g++) -D CMAKE_C_COMPILER=$(which x86_64-w64-mingw32-gcc) -D CMAKE_SYSTEM_NAME=Windows
|
|
sudo make install
|
|
cd ../
|
|
wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-3.12.10-1-any.pkg.tar.zst
|
|
sudo mkdir /opt/win-python
|
|
sudo tar --zstd -xf mingw-w64-x86_64-python-3.12.10-1-any.pkg.tar.zst -C /opt/win-python
|
|
```
|
|
|
|
### Building ###
|
|
|
|
You've already cloned the latest master revision of hashcat repository above, so switch to the folder and type "make win" to start compiling hashcat
|
|
```
|
|
cd hashcat/
|
|
make win
|
|
```
|
|
|
|
The process may take a while, please be patient.
|