From ebcb6a050c2aafc2c535664e11c6bda97942867a Mon Sep 17 00:00:00 2001 From: jsteube Date: Mon, 30 Jan 2017 10:45:56 +0100 Subject: [PATCH] Wordlists: Disable dictstat handling for hash-mode 3000 as it virtually creates words in the wordlist which is not the case for other modes --- docs/changes.txt | 1 + src/dictstat.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index c99e07cee..be8fde051 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -44,6 +44,7 @@ - OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.60 is detected which is known to be broken - OpenCL Device: Do a check on available constant memory size and abort if it's less than 64kB - Sessions: Move out handling of multiple instance from restore file into separate pidfile +- Wordlists: Disable dictstat handling for hash-mode 3000 as it virtually creates words in the wordlist which is not the case for other modes * changes v3.20 -> v3.30: diff --git a/src/dictstat.c b/src/dictstat.c index ee05e4740..aeea5ff39 100644 --- a/src/dictstat.c +++ b/src/dictstat.c @@ -43,6 +43,8 @@ int dictstat_init (hashcat_ctx_t *hashcat_ctx) if (user_options->attack_mode == ATTACK_MODE_BF) return 0; + if (user_options->hash_mode == 3000) return 0; // this mode virtually creates words in the wordlists + dictstat_ctx->enabled = true; dictstat_ctx->base = (dictstat_t *) hccalloc (MAX_DICTSTAT, sizeof (dictstat_t)); dictstat_ctx->cnt = 0;