1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-05-28 19:58:47 +00:00
jsteube 2016-10-25 11:36:17 +02:00
parent 5815055a7a
commit 6f07d0d947

View File

@ -414,22 +414,28 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
if (user_options->left == true) if (user_options->left == true)
{ {
if (user_options->outfile_format_chgd == true) if (user_options->outfile_format_chgd == true)
{
if (user_options->outfile_format > 1)
{ {
event_log_error (hashcat_ctx, "Mixing outfile-format > 1 with left parameter is not allowed"); event_log_error (hashcat_ctx, "Mixing outfile-format > 1 with left parameter is not allowed");
return -1; return -1;
} }
} }
}
if (user_options->show == true) if (user_options->show == true)
{ {
if (user_options->outfile_format_chgd == true) if (user_options->outfile_format_chgd == true)
{
if (user_options->outfile_format > 7)
{ {
event_log_error (hashcat_ctx, "Mixing outfile-format > 7 with show parameter is not allowed"); event_log_error (hashcat_ctx, "Mixing outfile-format > 7 with show parameter is not allowed");
return -1; return -1;
} }
} }
}
if (user_options->increment_min < INCREMENT_MIN) if (user_options->increment_min < INCREMENT_MIN)
{ {