mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-29 17:10:56 +00:00
commit
b0e5c0abc6
79
BUILD_CYGWIN.MD
Normal file
79
BUILD_CYGWIN.MD
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# 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
|
||||||
|
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).
|
||||||
|
|
@ -6,7 +6,7 @@ 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).
|
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:
|
Install additional dependencies required to compile hashcat by running the following commands
|
||||||
|
|
||||||
```
|
```
|
||||||
$ pacman -S git
|
$ pacman -S git
|
||||||
@ -23,7 +23,7 @@ Once all that is done, type the following command to copy the latest master revi
|
|||||||
$ git clone https://github.com/hashcat/hashcat.git
|
$ git clone https://github.com/hashcat/hashcat.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Switch to the newly created folder by runnig
|
Switch to the newly created folder by running
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd hashcat
|
$ cd hashcat
|
||||||
@ -35,7 +35,7 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user