1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-11 00:01:16 +00:00

Add potfile warning for Assoc Attack

Warn users that the potfile will not be used for Association Attack mode
This commit is contained in:
Chick3nman 2022-09-07 15:50:20 -05:00 committed by GitHub
parent acbcd04884
commit ee11834d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
*/