From c46abd519ff6815fd994f0f75fbe1c7ee443f200 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 4 Jun 2020 20:10:53 +0200 Subject: [PATCH] resolved comments --- BUILD_WSL.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/BUILD_WSL.md b/BUILD_WSL.md index 6d059b792..814eaa326 100644 --- a/BUILD_WSL.md +++ b/BUILD_WSL.md @@ -1,31 +1,36 @@ # Compiling hashcat for Windows with Windows Subsystem for Linux. -Tested on a Windows 10 (x64 build 18363), should also work to build hashcat for Windows on Linux. +Tested on Windows 10 x64, should also work to build hashcat for Windows on Linux. ### Installation ### Enable WSL. -Run bash (win+r bash) and make sure to install additional dependencies necessary for hashcat compilation +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 ``` sudo apt install gcc-mingw-w64-x86-64 make git git clone https://github.com/hashcat/hashcat -git clone https://github.com/win-iconv/win-iconv -cp hashcat/tools/win-iconv-64.diff win-iconv/ +git clone https://github.com/win-iconv/win-iconv cd win-iconv/ +patch < ../hashcat/tools/win-iconv-64.diff sudo make install +cd ../ ``` ### 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 +cd hashcat/ make win ``` -The process may take a while, please be patient. Once it's finished, run a Windows command prompt (win+r cmd) and start hashcat by typing "hashcat.exe" - +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 ``` hashcat.exe ``` \ No newline at end of file