mirror of
https://github.com/hashcat/hashcat
synced 2024-12-01 20:18:12 +01:00
Prevent user from using -m and --stdout together
This commit is contained in:
parent
42f574646e
commit
8f030b4915
@ -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
|
* status progress init; needs hashes that's why we have to do it here and separate from status_ctx_init
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user