Link BUILD_CYGWIN.md in BUILD.md

pull/1977/head
jsteube 5 years ago
parent b0e5c0abc6
commit 5cddf5275d

@ -9,7 +9,7 @@ hashcat build documentation
See docs/credits.txt See docs/credits.txt
### Building hashcat for Linux, macOS and Windows (using Cygwin) ### ### Building hashcat for Linux and macOS ###
Get a copy of the **hashcat** repository Get a copy of the **hashcat** repository
@ -23,10 +23,6 @@ Run "make"
$ make $ make
``` ```
### Building hashcat for Windows (using MSYS2) ###
Refer to [BUILD_MSYS2.md](BUILD_MSYS2.md)
### Install hashcat for Linux ### ### Install hashcat for Linux ###
The install target is linux FHS compatible and can be used like this: The install target is linux FHS compatible and can be used like this:
@ -37,6 +33,14 @@ $ make install
If you install it, cached kernels, session files, restore- and pot-files etc. will go to $HOME/.hashcat/ If you install it, cached kernels, session files, restore- and pot-files etc. will go to $HOME/.hashcat/
### Building hashcat for Windows (using Cygwin) ###
Refer to [BUILD_CYGWIN.md](BUILD_CYGWIN.md)
### Building hashcat for Windows (using MSYS2) ###
Refer to [BUILD_MSYS2.md](BUILD_MSYS2.md)
### Building hashcat for Windows from Linux ### ### Building hashcat for Windows from Linux ###
``` ```

@ -1,23 +1,13 @@
# Compiling hashcat with Cygwin. # Compiling hashcat with Cygwin.
Tested on a Windows 7 SP1 x64 machine. Tested on a Windows 7 SP1 x64 machine.
### Installation ### ### Installation ###
Go to https://www.cygwin.com , get the setup-x86_64 file and follow the instructions on the website. Go to https://www.cygwin.com , get the setup-x86_64 file and follow the instructions on the website.
Make sure to install additional dependencies necessary for hashcat compilation by selecting the following packages during cygwin installation Make sure to install additional dependencies necessary for hashcat compilation by selecting the following packages during cygwin installation
``` ```
libiconv-devel libiconv-devel
gcc-core gcc-core
@ -25,55 +15,32 @@ make
git git
``` ```
### Building ### ### Building ###
Once all that is done, open the cygwin bash (cygwin\cygwin.bat) and type the following command to copy the latest master revision of hashcat repository into cygwin\home\username\hashcat Once all that is done, open the cygwin bash (cygwin\cygwin.bat) and type the following command to copy the latest master revision of hashcat repository into cygwin\home\username\hashcat
``` ```
$ git clone https://github.com/hashcat/hashcat.git $ git clone https://github.com/hashcat/hashcat.git
``` ```
Switch to the newly created folder by running Switch to the newly created folder by running
``` ```
$ cd hashcat $ cd hashcat
``` ```
Now type "make" to start compiling hashcat Now type "make" to start compiling hashcat
``` ```
$ make $ make
``` ```
The process may take a while, please be patient. Once it's finished, run hashcat by typing "./hashcat.exe" The process may take a while, please be patient. Once it's finished, run hashcat by typing "./hashcat.exe"
``` ```
$ ./hashcat.exe $ ./hashcat.exe
``` ```
### Notes ### ### Notes ###
While hashcat will run fine from cygwin bash, running it from a windows shell will require cygwin1.dll and cygiconv-2.dll to be in the same folder with hashcat.exe (the files can be found in cygwin\bin folder). While hashcat will run fine from cygwin bash, running it from a windows shell will require cygwin1.dll and cygiconv-2.dll to be in the same folder with hashcat.exe (the files can be found in cygwin\bin folder).
Loading…
Cancel
Save