From acc592e96343f1e1e769a4ff14381288e2fe91cc Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 12 Dec 2021 10:18:05 +0100 Subject: [PATCH] Added support to use --debug-mode in attack-mode 9 (Association Attack) --- docs/changes.txt | 6 ++++++ src/user_options.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 796d03f67..a18355a87 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,5 +1,11 @@ * changes v6.2.5 -> v6.2.x +## +## Features +## + +- Added support to use --debug-mode in attack-mode 9 (Association Attack) + ## ## Bugs ## diff --git a/src/user_options.c b/src/user_options.c index ef97d2b2b..ddc4fdc89 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -1057,7 +1057,7 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx) if (user_options->debug_mode > 0) { - if (user_options->attack_mode != ATTACK_MODE_STRAIGHT) + if ((user_options->attack_mode != ATTACK_MODE_STRAIGHT) && (user_options->attack_mode != ATTACK_MODE_ASSOCIATION)) { event_log_error (hashcat_ctx, "Parameter --debug-mode option is only allowed in attack mode 0 (straight).");