1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-08 14:51:10 +00:00

Merge pull request #3218 from willcrozi/stdin-stdout-fix

allow --stdout and --stdin-timeout-abort to be used together
This commit is contained in:
Jens Steube 2022-03-16 13:21:48 +01:00 committed by GitHub
commit 58205847f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
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).");