1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00
hashcat/BUILD.md

84 lines
1.8 KiB
Markdown
Raw Normal View History

hashcat build documentation
2015-12-04 15:47:52 +01:00
=
2019-03-29 13:01:17 +01:00
### Revision ###
2020-05-27 21:15:36 +02:00
* 1.5
2015-12-04 15:47:52 +01:00
2019-03-29 13:01:17 +01:00
### Author ###
See docs/credits.txt
2015-12-04 15:47:52 +01:00
2019-03-29 19:23:41 +01:00
### Building hashcat for Linux and macOS ###
2015-12-04 15:47:52 +01:00
Get a copy of the **hashcat** repository
2015-12-04 15:47:52 +01:00
2019-03-29 13:01:17 +01:00
```
$ git clone https://github.com/hashcat/hashcat.git
2015-12-04 15:47:52 +01:00
```
Run "make"
2019-03-29 13:01:17 +01:00
```
$ make
```
2019-03-29 13:01:17 +01:00
### Install hashcat for Linux ###
2016-02-04 09:44:52 +01:00
The install target is linux FHS compatible and can be used like this:
2019-03-29 13:01:17 +01:00
```
$ make install
2015-12-04 15:47:52 +01:00
```
2021-06-05 20:41:24 +02: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 21:15:36 +02:00
### Building hashcat for Windows (using Windows Subsystem for Linux) ###
Refer to [BUILD_WSL.md](BUILD_WSL.md)
2019-03-29 19:23:41 +01: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 13:01:17 +01:00
### Building hashcat for Windows from Linux ###
2019-03-29 13:01:17 +01:00
```
2019-03-03 10:31:24 +01:00
$ make win
```
2016-05-10 19:16:57 +02:00
2015-12-04 15:47:52 +01:00
=
Enjoy your fresh **hashcat** binaries ;)