1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-19 13:08:19 +00:00

Update WSL docs to use cmake for win-iconv

This commit is contained in:
TheToddLuci0 2025-04-24 12:41:11 -05:00
parent 6716447dfc
commit fb8c7b5173
No known key found for this signature in database
GPG Key ID: 9C29A212F5B2F101

View File

@ -11,12 +11,12 @@ Make sure to have the system upgraded after install (otherwise it will fail to f
Enable WSL.
Press the win + r key on your keyboard simultaneously and in the "Run" popup window type bash and make sure to install additional dependencies necessary for hashcat compilation
```
```bash
sudo apt install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 make git
git clone https://github.com/hashcat/hashcat
git clone https://github.com/win-iconv/win-iconv
cd win-iconv/
patch < ../hashcat/tools/win-iconv-64.diff
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)
sudo make install
cd ../
```