hashcat/docs/BUILD.md

67 lines
1.5 KiB
Markdown
Raw Normal View History

2015-12-04 15:47:52 +01:00
oclHashcat build documentation
=
# Revision:
* 1.1
2015-12-04 15:47:52 +01:00
# Authors:
* Gabriele Gristina <<matrix@hashcat.net>>
* Christoph Heuwieser <<dropdead@hashcat.net>>
# Dependencies
To compile **oclHashcat** the following third party libraries are required:
- ADL_SDK v8.0 ( http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/ )
- NVAPI R352 ( https://developer.nvidia.com/nvapi )
- GDK v352_55 ( https://developer.nvidia.com/gpu-deployment-kit )
The next thing to do is download all the third party libraries listed above and put these files into the *deps/tmp* directory.
2015-12-04 15:47:52 +01:00
The following files are needed inside the *deps/tmp* directory:
2015-12-04 15:47:52 +01:00
ADL_SDK8.zip
R352-developer.zip
gdk_linux_amd64_352_55_release.run
# Building oclHashcat
First get a copy of **oclHashcat** repository
```sh
$ git clone https://github.com/hashcat/oclHashcat.git
```
Install the dependencies
2015-12-04 15:47:52 +01:00
```sh
$ cd oclHashcat
$ sudo ./tools/deps.sh
```
Run "make"
```sh
$ make
```
to install it run "make install"
```sh
$ make install
2015-12-04 15:47:52 +01:00
```
Useful tricks:
- build all binaries (see Note1):
2015-12-04 15:47:52 +01:00
```sh
$ make binaries
2015-12-04 15:47:52 +01:00
```
Note1: to install all binaries ("make binaries") you need to first clone the OpenCL-Headers within the main folder:
2015-12-04 15:47:52 +01:00
```sh
$ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
2015-12-04 15:47:52 +01:00
```
the tools/deps.sh script does not clone this repo automatically since for native compilation it is not needed.
2015-12-04 15:47:52 +01:00
=
Enjoy your fresh **oclHashcat** binaries ;)