1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-12 10:48:57 +00:00
hashcat/BUILD.md

84 lines
1.8 KiB
Markdown
Raw Normal View History

hashcat build documentation
2015-12-04 14:47:52 +00:00
=
2019-03-29 12:01:17 +00:00
### Revision ###
2020-05-27 19:15:36 +00:00
* 1.5
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
Get a copy of the **hashcat** repository
2015-12-04 14:47:52 +00:00
2019-03-29 12:01:17 +00:00
```
$ git clone https://github.com/hashcat/hashcat.git
2015-12-04 14:47:52 +00:00
```
Run "make"
2019-03-29 12:01:17 +00:00
```
$ make
```
2019-03-29 12:01:17 +00:00
### Install hashcat for Linux ###
2016-02-04 08:44:52 +00:00
The install target is linux FHS compatible and can be used like this:
2019-03-29 12:01:17 +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
### 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 ###
2019-03-29 12:01:17 +00:00
```
2019-03-03 09:31:24 +00:00
$ make win
```
2016-05-10 17:16:57 +00:00
2015-12-04 14:47:52 +00:00
=
Enjoy your fresh **hashcat** binaries ;)