2015-12-04 14:47:52 +00:00
|
|
|
oclHashcat build documentation
|
|
|
|
=
|
|
|
|
# Revision:
|
2016-01-24 15:39:51 +00:00
|
|
|
* 1.2
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
# Authors:
|
|
|
|
* Gabriele Gristina <<matrix@hashcat.net>>
|
|
|
|
* Christoph Heuwieser <<dropdead@hashcat.net>>
|
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
# Building oclHashcat for Linux and OSX
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-27 18:38:25 +00:00
|
|
|
Get a copy of the **oclHashcat** repository
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
$ git clone https://github.com/hashcat/oclHashcat.git
|
|
|
|
```
|
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
|
|
|
|
|
|
|
```sh
|
2016-01-03 18:25:37 +00:00
|
|
|
$ make
|
|
|
|
```
|
|
|
|
|
2016-01-27 18:38:25 +00:00
|
|
|
# Install oclHashcat for Linux
|
|
|
|
|
|
|
|
The linux target is FHS compatible and can be installed like this:
|
2016-01-03 18:25:37 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
$ make install
|
2015-12-04 14:47:52 +00:00
|
|
|
```
|
|
|
|
|
2016-01-27 18:38:25 +00:00
|
|
|
If you install it, cached kernels, session files, restore- and pot-files etc will go to $HOME/.hashcat/
|
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
# Building oclHashcat for Windows
|
2016-01-24 15:39:51 +00:00
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
The following third party library is required:
|
2016-01-03 18:25:37 +00:00
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
- NVAPI R352 ( https://developer.nvidia.com/nvapi )
|
2016-01-03 18:25:37 +00:00
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
Download the third party library listed above and put the .zip file into the *deps/tmp* directory.
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
- R352-developer.zip
|
2016-01-03 18:25:37 +00:00
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
Install the dependencies (root permission needed for apt-get install command)
|
2016-01-03 18:47:55 +00:00
|
|
|
|
2016-01-27 18:38:25 +00:00
|
|
|
Get a copy of the **oclHashcat** repository
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ git clone https://github.com/hashcat/oclHashcat.git
|
|
|
|
```
|
|
|
|
|
2016-01-03 18:47:55 +00:00
|
|
|
```sh
|
2016-01-27 18:38:25 +00:00
|
|
|
$ cd oclHashcat
|
2016-01-27 18:34:40 +00:00
|
|
|
$ ./tools/deps.sh
|
2016-01-03 18:47:55 +00:00
|
|
|
```
|
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
- build all binaries:
|
2016-01-03 18:47:55 +00:00
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
```sh
|
|
|
|
$ make win32 win64
|
|
|
|
```
|
|
|
|
|
|
|
|
# To build all binaries ("make binaries") you need to first clone the OpenCL-Headers within the main folder:
|
2016-01-03 18:47:55 +00:00
|
|
|
|
|
|
|
```sh
|
2016-01-27 18:34:40 +00:00
|
|
|
$ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
|
2016-01-03 18:47:55 +00:00
|
|
|
```
|
|
|
|
|
2016-01-27 18:34:40 +00:00
|
|
|
the tools/deps.sh script does not clone this repo automatically since for native compilation it is not needed.
|
|
|
|
|
2015-12-04 14:47:52 +00:00
|
|
|
=
|
|
|
|
Enjoy your fresh **oclHashcat** binaries ;)
|