Merge pull request #3608 from justpretending/stdout_hash_mode

Prevent user from using -m and --stdout together
pull/3610/head
Jens Steube 2 years ago committed by GitHub
commit a818e6373c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -807,6 +807,17 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
}
}
/**
* prevent the user from using -m/--hash-type together with --stdout
*/
if (user_options->hash_mode_chgd == true && user_options->stdout_flag == true)
{
event_log_error (hashcat_ctx, "Use of -m/--hash-type is not supported with --stdout.");
return -1;
}
/**
* status progress init; needs hashes that's why we have to do it here and separate from status_ctx_init
*/

Loading…
Cancel
Save