1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-21 14:08:21 +00:00

Merge pull request #4103 from matrix/stdout_slow-candidates

do not allow --stdout and --slow-candidates
This commit is contained in:
hashcat-bot 2025-07-09 09:50:09 +02:00 committed by GitHub
commit c4c01868d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1103,6 +1103,13 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
}
}
if (user_options->stdout_flag == true && user_options->slow_candidates == true)
{
event_log_error (hashcat_ctx, "Slow candidates (-S) is not allowed in stdout mode.");
return -1;
}
if ((user_options->show == true) && ((user_options->username == true) || (user_options->dynamic_x == true)))
{
event_log_error (hashcat_ctx, "Mixing --show with --username or --dynamic-x can cause exponential delay in output.");