mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
do not allow --stdout and --slow-candidates
This commit is contained in:
parent
6716447dfc
commit
b67638ab36
@ -1052,6 +1052,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)))
|
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.");
|
event_log_error (hashcat_ctx, "Mixing --show with --username or --dynamic-x can cause exponential delay in output.");
|
||||||
|
Loading…
Reference in New Issue
Block a user