2016-05-10 17:07:07 +00:00
|
|
|
hashcat build documentation
|
2015-12-04 14:47:52 +00:00
|
|
|
=
|
2019-03-29 12:01:17 +00:00
|
|
|
|
|
|
|
### Revision ###
|
|
|
|
|
2023-05-28 19:21:20 +00:00
|
|
|
* 1.6
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
### Author ###
|
|
|
|
|
|
|
|
See docs/credits.txt
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2019-03-29 18:23:41 +00:00
|
|
|
### Building hashcat for Linux and macOS ###
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-05-10 17:07:07 +00:00
|
|
|
Get a copy of the **hashcat** repository
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
```
|
2016-05-10 17:07:07 +00:00
|
|
|
$ git clone https://github.com/hashcat/hashcat.git
|
2015-12-04 14:47:52 +00:00
|
|
|
```
|
2015-12-16 12:47:46 +00:00
|
|
|
|
2016-01-03 18:25:37 +00:00
|
|
|
Run "make"
|
2015-12-16 12:47:46 +00:00
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
```
|
2016-01-03 18:25:37 +00:00
|
|
|
$ make
|
|
|
|
```
|
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
### Install hashcat for Linux ###
|
2016-01-27 18:38:25 +00:00
|
|
|
|
2016-02-04 08:44:52 +00:00
|
|
|
The install target is linux FHS compatible and can be used like this:
|
2016-01-03 18:25:37 +00:00
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
```
|
2016-01-03 18:25:37 +00:00
|
|
|
$ make install
|
2015-12-04 14:47:52 +00:00
|
|
|
```
|
|
|
|
|
2021-06-05 18:41:24 +00:00
|
|
|
If the $HOME/.hashcat folder exists, then:
|
|
|
|
|
|
|
|
- Session related files go to: $HOME/.hashcat/sessions/
|
|
|
|
- Cached kernels go to: $HOME/.hashcat/kernels/
|
|
|
|
- Potfiles go to: $HOME/.hashcat/
|
|
|
|
|
|
|
|
Otherwise, if environment variable XDG_DATA_HOME and XDG_CACHE_HOME exists, then:
|
|
|
|
|
|
|
|
- Session related files go to: $XDG_DATA_HOME/hashcat/sessions/
|
|
|
|
- Cached kernels go to: $XDG_CACHE_HOME/hashcat/kernels/
|
|
|
|
- Potfiles go to: $XDG_DATA_HOME/hashcat/
|
|
|
|
|
|
|
|
Otherwise, if environment variable XDG_DATA_HOME exists, then:
|
|
|
|
|
|
|
|
- Session related files go to: $XDG_DATA_HOME/hashcat/sessions/
|
|
|
|
- Cached kernels go to: $HOME/.cache/hashcat
|
|
|
|
- Potfiles go to: $XDG_DATA_HOME/hashcat/
|
|
|
|
|
|
|
|
Otherwise, if environment variable XDG_CACHE_HOME exists, then:
|
|
|
|
|
|
|
|
- Session related files go to: $HOME/.local/share/hashcat/sessions/
|
|
|
|
- Cached kernels go to: $XDG_CACHE_HOME/hashcat/kernels/
|
|
|
|
- Potfiles go to: $HOME/.local/share/hashcat/
|
|
|
|
|
|
|
|
Otherwise:
|
|
|
|
|
|
|
|
- Session related files go to: $HOME/.local/share/hashcat/sessions/
|
|
|
|
- Cached kernels go to: $HOME/.cache/hashcat
|
|
|
|
- Potfiles go to: $HOME/.local/share/hashcat/
|
2020-05-27 19:15:36 +00:00
|
|
|
|
2023-05-28 19:21:20 +00:00
|
|
|
### Building hashcat for Windows (using macOS) ###
|
|
|
|
|
|
|
|
Refer to [BUILD_macOS.md](BUILD_macOS.md)
|
|
|
|
|
2020-05-27 19:15:36 +00:00
|
|
|
### Building hashcat for Windows (using Windows Subsystem for Linux) ###
|
|
|
|
|
|
|
|
Refer to [BUILD_WSL.md](BUILD_WSL.md)
|
|
|
|
|
2019-03-29 18:23:41 +00:00
|
|
|
### 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)
|
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
### Building hashcat for Windows from Linux ###
|
2016-01-24 15:39:51 +00:00
|
|
|
|
2019-03-29 12:01:17 +00:00
|
|
|
```
|
2019-03-03 09:31:24 +00:00
|
|
|
$ make win
|
2016-01-03 18:47:55 +00:00
|
|
|
```
|
2016-05-10 17:16:57 +00:00
|
|
|
|
2015-12-04 14:47:52 +00:00
|
|
|
=
|
2016-05-10 17:07:07 +00:00
|
|
|
Enjoy your fresh **hashcat** binaries ;)
|