From 707bff5c200a35b6f19e1aac5a751cf1465b84e0 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 17 Oct 2021 19:31:17 +0200 Subject: [PATCH 1/2] Backport nonce_error_corrections workaround from -m 22000 to -m 22001 --- src/modules/module_22000.c | 1 - src/modules/module_22001.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_22000.c b/src/modules/module_22000.c index b8e247c64..61b40942b 100644 --- a/src/modules/module_22000.c +++ b/src/modules/module_22000.c @@ -1073,7 +1073,6 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE { // replaycount not checked, nc needed wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS; // temporary until architectural change done (module_hash_decode_postprocess?) - } else { diff --git a/src/modules/module_22001.c b/src/modules/module_22001.c index 2c7e1d1aa..aacfe04bb 100644 --- a/src/modules/module_22001.c +++ b/src/modules/module_22001.c @@ -1072,6 +1072,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE if (wpa->message_pair & (1 << 7)) { // replaycount not checked, nc needed + wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS; // temporary until architectural change done (module_hash_decode_postprocess?) } else { From 50fc474f25901d517ee40a3cf61e3cbecdddee8f Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Mon, 18 Oct 2021 16:38:15 +0200 Subject: [PATCH 2/2] Fix example hashcat password for -m 3000, which is actually in upper case, since LM does not support lower case characters --- src/modules/module_03000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_03000.c b/src/modules/module_03000.c index 3b3548011..25cac60fc 100644 --- a/src/modules/module_03000.c +++ b/src/modules/module_03000.c @@ -29,7 +29,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE | OPTS_TYPE_HASH_SPLIT; static const u32 PWDUMP_COLUMN = PWDUMP_COLUMN_LM_HASH; static const u32 SALT_TYPE = SALT_TYPE_NONE; -static const char *ST_PASS = "hashcat"; +static const char *ST_PASS = "HASHCAT"; static const char *ST_HASH = "299bd128c1101fd6"; u32 module_attack_exec (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return ATTACK_EXEC; }