mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-07 15:18:15 +00:00
Merge pull request #4269 from matrix/user_options_bench_info
do not allow --benchmark and --backend-info
This commit is contained in:
commit
92ed2c6524
@ -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.");
|
||||||
|
Loading…
Reference in New Issue
Block a user