diff --git a/BUILD.md b/BUILD.md index 323c9a66a..6cca7149e 100644 --- a/BUILD.md +++ b/BUILD.md @@ -1,37 +1,49 @@ hashcat build documentation = -# Revision: + +### Revision ### + * 1.4 -# Author: see docs/credits.txt +### Author ### -# Building hashcat for Linux, macOS and Windows (using Cygwin or MSYS2) +See docs/credits.txt + +### Building hashcat for Linux and macOS ### Get a copy of the **hashcat** repository -```sh +``` $ git clone https://github.com/hashcat/hashcat.git ``` Run "make" -```sh +``` $ make ``` -# Install hashcat for Linux +### Install hashcat for Linux ### The install target is linux FHS compatible and can be used like this: -```sh +``` $ make install ``` If you install it, cached kernels, session files, restore- and pot-files etc. will go to $HOME/.hashcat/ -# Building hashcat for Windows from Linux +### Building hashcat for Windows (using Cygwin) ### -```sh +Refer to [BUILD_CYGWIN.md](BUILD_CYGWIN.md) + +### Building hashcat for Windows (using MSYS2) ### + +Refer to [BUILD_MSYS2.md](BUILD_MSYS2.md) + +### Building hashcat for Windows from Linux ### + +``` $ make win ``` diff --git a/BUILD_CYGWIN.md b/BUILD_CYGWIN.md new file mode 100644 index 000000000..1a867b389 --- /dev/null +++ b/BUILD_CYGWIN.md @@ -0,0 +1,46 @@ +# Compiling hashcat with Cygwin. + +Tested on a Windows 7 SP1 x64 machine. + +### Installation ### + +Go to https://www.cygwin.com , get the setup-x86_64 file and follow the instructions on the website. + +Make sure to install additional dependencies necessary for hashcat compilation by selecting the following packages during cygwin installation + +``` +libiconv-devel +gcc-core +make +git +``` + +### Building ### + +Once all that is done, open the cygwin bash (cygwin\cygwin.bat) and type the following command to copy the latest master revision of hashcat repository into cygwin\home\username\hashcat + +``` +$ git clone https://github.com/hashcat/hashcat.git +``` + +Switch to the newly created folder by running + +``` +$ cd hashcat +``` + +Now type "make" to start compiling hashcat + +``` +$ make +``` + +The process may take a while, please be patient. Once it's finished, run hashcat by typing "./hashcat.exe" + +``` +$ ./hashcat.exe +``` + +### Notes ### + +While hashcat will run fine from cygwin bash, running it from a windows shell will require cygwin1.dll and cygiconv-2.dll to be in the same folder with hashcat.exe (the files can be found in cygwin\bin folder). diff --git a/BUILD_MSYS2.md b/BUILD_MSYS2.md new file mode 100644 index 000000000..d3b43b9ba --- /dev/null +++ b/BUILD_MSYS2.md @@ -0,0 +1,46 @@ +# Compiling hashcat with msys2. + +Tested on a Windows 7 SP1 x64 machine. + +### Installation ### + +Go to https://www.msys2.org/ and follow the instructions on the main page (steps 1 to 7). + +Install additional dependencies required to compile hashcat by running the following commands + +``` +$ pacman -S git +$ pacman -S make +$ pacman -S gcc +$ pacman -S libiconv-devel +``` + +### Building ### + +Once all that is done, type the following command to copy the latest master revision of hashcat repository into msys64\home\username\hashcat + +``` +$ git clone https://github.com/hashcat/hashcat.git +``` + +Switch to the newly created folder by running + +``` +$ cd hashcat +``` + +Now type "make" to start compiling hashcat + +``` +$ make +``` + +The process may take a while, please be patient. Once it's finished, run hashcat by typing "./hashcat.exe" + +``` +$ ./hashcat.exe +``` + +### Notes ### + +While hashcat will run fine from msys shell, running it from a windows shell will require msys-iconv-2.dll and msys-2.0.dll to be in the same folder with hashcat.exe (the files can be found in msys64\usr\bin). diff --git a/src/modules/module_07900.c b/src/modules/module_07900.c index bab49b0a3..649ae26a5 100644 --- a/src/modules/module_07900.c +++ b/src/modules/module_07900.c @@ -301,6 +301,12 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE return true; } + // rocm: self-test failed. + if ((device_param->device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == true)) + { + return true; + } + return false; }