From 25dfac23aed5fdf0d4240ca34113b1869e8200a0 Mon Sep 17 00:00:00 2001 From: Rolf Date: Thu, 28 Mar 2019 16:54:33 +0000 Subject: [PATCH] Create msys2_win.md --- docs/msys2_win.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/msys2_win.md diff --git a/docs/msys2_win.md b/docs/msys2_win.md new file mode 100644 index 000000000..15d3085df --- /dev/null +++ b/docs/msys2_win.md @@ -0,0 +1,36 @@ +# Compiling hashcat with msys2. + +Tested on a Windows 7 SP1 x64 machine. + +Go to https://www.msys2.org/ and follow the instructions on the main page (steps 1 to 7). + +Install additional dependencies required to compile hashcat by running the following commands: +```sh +$ pacman -S git +$ pacman -S make +$ pacman -S gcc +$ pacman -S libiconv-devel +``` + +Once all that is done, type the following command to copy the latest master revision of hashcat repository into msys64\home\username\hashcat +```sh +$ git clone https://github.com/hashcat/hashcat.git +``` + +Switch to the newly created folder by runnig +```sh +$ cd hashcat +``` + +Now type "make" to start compiling hashcat +```sh +$ make +``` + +The process may take a while, please be patient. +Once it's finished, run hashcat by typing "./hashcat.exe". +```sh +$ ./hashcat.exe +``` + +While hashcat will run fine from msys shell, running it from a windows shell will require msys-iconv-2.dll and msys-2.0.dll to be in the same folder with hashcat.exe (the files can be found in msys64\usr\bin).