1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Link BUILD_CYGWIN.md in BUILD.md

This commit is contained in:
jsteube 2019-03-29 19:23:41 +01:00
parent b0e5c0abc6
commit 5cddf5275d
2 changed files with 9 additions and 38 deletions

View File

@ -9,7 +9,7 @@ hashcat build documentation
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
@ -23,10 +23,6 @@ Run "make"
$ make
```
### Building hashcat for Windows (using MSYS2) ###
Refer to [BUILD_MSYS2.md](BUILD_MSYS2.md)
### Install hashcat for Linux ###
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/
### 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 ###
```

View File

@ -1,23 +1,13 @@
# Compiling hashcat with Cygwin.
Tested on a Windows 7 SP1 x64 machine.
### Installation ###
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
```
libiconv-devel
gcc-core
@ -25,55 +15,32 @@ make
git
```
### 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
```
$ git clone https://github.com/hashcat/hashcat.git
```
Switch to the newly created folder by running
```
$ cd hashcat
```
Now type "make" to start compiling hashcat
```
$ make
```
The process may take a while, please be patient. Once it's finished, run hashcat by typing "./hashcat.exe"
```
$ ./hashcat.exe
```
### 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).