1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00
hashcat/BUILD_WSL.md

36 lines
1.0 KiB
Markdown
Raw Normal View History

2020-05-27 19:15:36 +00:00
# Compiling hashcat for Windows with Windows Subsystem for Linux.
2020-06-04 18:10:53 +00:00
Tested on Windows 10 x64, should also work to build hashcat for Windows on Linux.
2020-05-27 19:15:36 +00:00
### Installation ###
Enable WSL.
2020-06-04 18:10:53 +00:00
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
2020-05-27 19:15:36 +00:00
```
sudo apt install gcc-mingw-w64-x86-64 make git
git clone https://github.com/hashcat/hashcat
2020-06-04 18:10:53 +00:00
git clone https://github.com/win-iconv/win-iconv
2020-05-27 19:15:36 +00:00
cd win-iconv/
2020-06-04 18:10:53 +00:00
patch < ../hashcat/tools/win-iconv-64.diff
2020-05-27 19:15:36 +00:00
sudo make install
2020-06-04 18:10:53 +00:00
cd ../
2020-05-27 19:15:36 +00:00
```
### 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
```
2020-06-04 18:10:53 +00:00
cd hashcat/
2020-05-27 19:15:36 +00:00
make win
```
2020-06-04 18:10:53 +00:00
The process may take a while, please be patient. Once it's finished, close WSL.
Press the win + r keys together and (in the "Run" popup window) type cmd, using cd navigate to the hashcat folder e.g.
```
cd "C:\Users\user\hashcat"
```
and start hashcat by typing
2020-05-27 19:15:36 +00:00
```
hashcat.exe
```