1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

allow --stdout and --stdin-timeout-abort to be used together

This commit is contained in:
Will Crozier 2022-03-10 20:42:06 +00:00
parent 2b89c69cc4
commit 73637d43db

View File

@ -1372,7 +1372,7 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
// --stdin-timeout-abort can only be used in stdin mode // --stdin-timeout-abort can only be used in stdin mode
if (user_options->hc_argc != 1) if (user_options->hc_argc > 1)
{ {
event_log_error (hashcat_ctx, "Use of --stdin-timeout-abort is only allowed in stdin mode (pipe)."); event_log_error (hashcat_ctx, "Use of --stdin-timeout-abort is only allowed in stdin mode (pipe).");