1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-07 23:28:11 +00:00

Merge pull request #4269 from matrix/user_options_bench_info

do not allow --benchmark and --backend-info
This commit is contained in:
Jens Steube 2025-06-27 22:02:47 +02:00 committed by GitHub
commit 92ed2c6524
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1387,6 +1387,13 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
return -1; return -1;
} }
if (user_options->backend_info > 0)
{
event_log_error (hashcat_ctx, "Use of --backend-info is not allowed in benchmark mode.");
return -1;
}
if (user_options->spin_damp_chgd == true) if (user_options->spin_damp_chgd == true)
{ {
event_log_error (hashcat_ctx, "Can't change --spin-damp in benchmark mode."); event_log_error (hashcat_ctx, "Can't change --spin-damp in benchmark mode.");