From 25dfac23aed5fdf0d4240ca34113b1869e8200a0 Mon Sep 17 00:00:00 2001 From: Rolf Date: Thu, 28 Mar 2019 16:54:33 +0000 Subject: [PATCH 1/7] Create msys2_win.md --- docs/msys2_win.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/msys2_win.md diff --git a/docs/msys2_win.md b/docs/msys2_win.md new file mode 100644 index 000000000..15d3085df --- /dev/null +++ b/docs/msys2_win.md @@ -0,0 +1,36 @@ +# Compiling hashcat with msys2. + +Tested on a Windows 7 SP1 x64 machine. + +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: +```sh +$ pacman -S git +$ pacman -S make +$ pacman -S gcc +$ pacman -S libiconv-devel +``` + +Once all that is done, type the following command to copy the latest master revision of hashcat repository into msys64\home\username\hashcat +```sh +$ git clone https://github.com/hashcat/hashcat.git +``` + +Switch to the newly created folder by runnig +```sh +$ cd hashcat +``` + +Now type "make" to start compiling hashcat +```sh +$ make +``` + +The process may take a while, please be patient. +Once it's finished, run hashcat by typing "./hashcat.exe". +```sh +$ ./hashcat.exe +``` + +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). From a7a70c88ede8b0b1674ec23710bd1c5e42f6bf14 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 29 Mar 2019 10:44:47 +0100 Subject: [PATCH 2/7] Mark -m 7900 as unstable on ROCM --- src/modules/module_07900.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } From a3adcc0995b80853f9bd4ac4d1a52f0e67dccae6 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 29 Mar 2019 13:01:17 +0100 Subject: [PATCH 3/7] Update build.md --- BUILD.md | 26 +++++++++++++++++--------- docs/msys2_win.md => BUILD_msys2.md | 24 +++++++++++++++++------- 2 files changed, 34 insertions(+), 16 deletions(-) rename docs/msys2_win.md => BUILD_msys2.md (82%) diff --git a/BUILD.md b/BUILD.md index 323c9a66a..490b9b848 100644 --- a/BUILD.md +++ b/BUILD.md @@ -1,37 +1,45 @@ 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, macOS and Windows (using Cygwin) ### Get a copy of the **hashcat** repository -```sh +``` $ git clone https://github.com/hashcat/hashcat.git ``` Run "make" -```sh +``` $ make ``` -# Install hashcat for Linux +### Building hashcat for Windows (using MSYS2) ### + +Refer to [BUILD_MSYS2.md](BUILD_MSYS2.md) + +### 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 from Linux ### -```sh +``` $ make win ``` diff --git a/docs/msys2_win.md b/BUILD_msys2.md similarity index 82% rename from docs/msys2_win.md rename to BUILD_msys2.md index 15d3085df..e2e3b57e2 100644 --- a/docs/msys2_win.md +++ b/BUILD_msys2.md @@ -2,35 +2,45 @@ 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: -```sh + +``` $ 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 -```sh + +``` $ git clone https://github.com/hashcat/hashcat.git ``` Switch to the newly created folder by runnig -```sh + +``` $ cd hashcat ``` Now type "make" to start compiling hashcat -```sh + +``` $ make ``` -The process may take a while, please be patient. -Once it's finished, run hashcat by typing "./hashcat.exe". -```sh +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). From 6f65948abdadd3f5cb25a12d3e42ac0a32400d7d Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 29 Mar 2019 13:01:49 +0100 Subject: [PATCH 4/7] Rename BUILD_msys2.md --- BUILD_msys2.md => BUILD_MSYS2.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename BUILD_msys2.md => BUILD_MSYS2.md (100%) diff --git a/BUILD_msys2.md b/BUILD_MSYS2.md similarity index 100% rename from BUILD_msys2.md rename to BUILD_MSYS2.md From b9e1a61efa79b15f93b70c44fc4f6112f01dda53 Mon Sep 17 00:00:00 2001 From: Rolf Date: Fri, 29 Mar 2019 16:39:41 +0000 Subject: [PATCH 5/7] Update BUILD_MSYS2.md --- BUILD_MSYS2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD_MSYS2.md b/BUILD_MSYS2.md index e2e3b57e2..d3b43b9ba 100644 --- a/BUILD_MSYS2.md +++ b/BUILD_MSYS2.md @@ -6,7 +6,7 @@ Tested on a Windows 7 SP1 x64 machine. 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: +Install additional dependencies required to compile hashcat by running the following commands ``` $ pacman -S git @@ -23,7 +23,7 @@ Once all that is done, type the following command to copy the latest master revi $ git clone https://github.com/hashcat/hashcat.git ``` -Switch to the newly created folder by runnig +Switch to the newly created folder by running ``` $ cd hashcat @@ -35,7 +35,7 @@ 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". +The process may take a while, please be patient. Once it's finished, run hashcat by typing "./hashcat.exe" ``` $ ./hashcat.exe From 58f1db2aea94f7519f66d43d44854f2e9763f69f Mon Sep 17 00:00:00 2001 From: Rolf Date: Fri, 29 Mar 2019 16:43:37 +0000 Subject: [PATCH 6/7] Create BUILD_CYGWIN.MD --- BUILD_CYGWIN.MD | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 BUILD_CYGWIN.MD diff --git a/BUILD_CYGWIN.MD b/BUILD_CYGWIN.MD new file mode 100644 index 000000000..c6e4ec032 --- /dev/null +++ b/BUILD_CYGWIN.MD @@ -0,0 +1,79 @@ +# 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). + From 5cddf5275dc07f5224adc336a1ecec9e61b7a75a Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 29 Mar 2019 19:23:41 +0100 Subject: [PATCH 7/7] Link BUILD_CYGWIN.md in BUILD.md --- BUILD.md | 14 ++++++++----- BUILD_CYGWIN.MD => BUILD_CYGWIN.md | 33 ------------------------------ 2 files changed, 9 insertions(+), 38 deletions(-) rename BUILD_CYGWIN.MD => BUILD_CYGWIN.md (97%) diff --git a/BUILD.md b/BUILD.md index 490b9b848..6cca7149e 100644 --- a/BUILD.md +++ b/BUILD.md @@ -9,7 +9,7 @@ hashcat build documentation See docs/credits.txt -### Building hashcat for Linux, macOS and Windows (using Cygwin) ### +### Building hashcat for Linux and macOS ### Get a copy of the **hashcat** repository @@ -23,10 +23,6 @@ Run "make" $ make ``` -### Building hashcat for Windows (using MSYS2) ### - -Refer to [BUILD_MSYS2.md](BUILD_MSYS2.md) - ### Install hashcat for Linux ### The install target is linux FHS compatible and can be used like this: @@ -37,6 +33,14 @@ $ make install If you install it, cached kernels, session files, restore- and pot-files etc. will go to $HOME/.hashcat/ +### 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) + ### Building hashcat for Windows from Linux ### ``` diff --git a/BUILD_CYGWIN.MD b/BUILD_CYGWIN.md similarity index 97% rename from BUILD_CYGWIN.MD rename to BUILD_CYGWIN.md index c6e4ec032..1a867b389 100644 --- a/BUILD_CYGWIN.MD +++ b/BUILD_CYGWIN.md @@ -1,23 +1,13 @@ # 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 @@ -25,55 +15,32 @@ 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). -