1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-20 21:58:11 +00:00
hashcat/docs/BUILD.md

73 lines
1.4 KiB
Markdown
Raw Normal View History

2015-12-04 14:47:52 +00:00
oclHashcat build documentation
=
# Revision:
* 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
Get a copy of the **oclHashcat** repository
2015-12-04 14:47:52 +00:00
```sh
$ git clone https://github.com/hashcat/oclHashcat.git
```
Run "make"
```sh
$ make
```
# Install oclHashcat for Linux
The linux target is FHS compatible and can be installed like this:
```sh
$ make install
2015-12-04 14:47:52 +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-27 18:34:40 +00:00
The following third party library is required:
2016-01-27 18:34:40 +00:00
- NVAPI R352 ( https://developer.nvidia.com/nvapi )
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-27 18:34:40 +00:00
Install the dependencies (root permission needed for apt-get install command)
Get a copy of the **oclHashcat** repository
```sh
$ git clone https://github.com/hashcat/oclHashcat.git
```
```sh
$ cd oclHashcat
2016-01-27 18:34:40 +00:00
$ ./tools/deps.sh
```
2016-01-27 18:34:40 +00:00
- build all binaries:
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:
```sh
2016-01-27 18:34:40 +00:00
$ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
```
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 ;)