From ee11834d3c226d889ffc02a51397811809d9254b Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Wed, 7 Sep 2022 15:50:20 -0500 Subject: [PATCH 1/2] Add potfile warning for Assoc Attack Warn users that the potfile will not be used for Association Attack mode --- src/main.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 8ffc55fc7..ff7493885 100644 --- a/src/main.c +++ b/src/main.c @@ -541,13 +541,21 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, event_log_advice (hashcat_ctx, NULL); } - if (hashconfig->potfile_disable == true) + if (hashconfig->potfile_disable == true && user_options->attack_mode != ATTACK_MODE_ASSOCIATION) { event_log_advice (hashcat_ctx, "ATTENTION! Potfile storage is disabled for this hash mode."); event_log_advice (hashcat_ctx, "Passwords cracked during this session will NOT be stored to the potfile."); event_log_advice (hashcat_ctx, "Consider using -o to save cracked passwords."); event_log_advice (hashcat_ctx, NULL); } + + if (user_options->attack_mode == ATTACK_MODE_ASSOCIATION) + { + event_log_advice (hashcat_ctx, "ATTENTION! Potfile read/write is disabled for this attack mode."); + event_log_advice (hashcat_ctx, "Passwords cracked during this session will NOT be stored to the potfile."); + event_log_advice (hashcat_ctx, "Consider using -o to save cracked passwords."); + event_log_advice (hashcat_ctx, NULL); + } /** * Watchdog and Temperature balance */ From dd58e52800c3f177f21042c1f5b9946b9e69043e Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Wed, 7 Sep 2022 15:52:06 -0500 Subject: [PATCH 2/2] Fix Typo Fix a minor typo in a comment --- src/wordlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wordlist.c b/src/wordlist.c index eebf7c4bb..43dfe8237 100644 --- a/src/wordlist.c +++ b/src/wordlist.c @@ -723,7 +723,7 @@ int wl_data_init (hashcat_ctx_t *hashcat_ctx) } else { - wl_data->func = get_next_word_lm_text; // treat as nromal text + wl_data->func = get_next_word_lm_text; // treat as normal text } } }