From 2f30e5e929e62984a97bd09c2cd62bec599bae9e Mon Sep 17 00:00:00 2001 From: jsteube Date: Mon, 5 Feb 2018 15:57:36 +0100 Subject: [PATCH] Fixed invalid support for SIMD in -m 400 --- docs/changes.txt | 1 + src/interface.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 102bd6448..8f7f01abd 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -29,6 +29,7 @@ - Fixed a mask-length check issue: Return -1 in case the mask-length is not within the password-length range - Fixed a restore issue leading to "Restore value is greater than keyspace" when mask-files or wordlist-folders were used - Fixed a uninitialized value in OpenCL kernels 9720, 9820 and 10420 leading to absurd benchmark performance +- Fixed invalid support for SIMD in -m 400 - Fixed the maximum password length check in password-reassembling function - Fixed the output of --show if $HEX[] passwords were present within the potfile diff --git a/src/interface.c b/src/interface.c index e80f24caf..821941e91 100644 --- a/src/interface.c +++ b/src/interface.c @@ -21603,8 +21603,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx) hashconfig->kern_type = KERN_TYPE_PHPASS; hashconfig->dgst_size = DGST_SIZE_4_4; hashconfig->parse_func = phpass_parse_hash; - hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE - | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; + hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE; hashconfig->dgst_pos0 = 0; hashconfig->dgst_pos1 = 1; hashconfig->dgst_pos2 = 2; @@ -25487,7 +25486,8 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx) hashconfig->kern_type = KERN_TYPE_APPLE_SECURE_NOTES; hashconfig->dgst_size = DGST_SIZE_4_4; // originally DGST_SIZE_4_2 hashconfig->parse_func = apple_secure_notes_parse_hash; - hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE; + hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE + | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; hashconfig->dgst_pos0 = 0; hashconfig->dgst_pos1 = 1; hashconfig->dgst_pos2 = 2;