1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 22:58:30 +00:00
jsteube 2023-03-15 19:45:56 +00:00
parent 714b5dcc9e
commit 0aaf19eade

View File

@ -2264,6 +2264,21 @@ int hashes_init_stage4 (hashcat_ctx_t *hashcat_ctx)
} }
} }
// https://github.com/hashcat/hashcat/issues/3641
if ((hashconfig->opts_type & OPTS_TYPE_DEEP_COMP_KERNEL) == 0)
{
if (hashconfig->attack_exec == ATTACK_EXEC_OUTSIDE_KERNEL)
{
if (hashes->digests_cnt != hashes->salts_cnt)
{
event_log_error (hashcat_ctx, "This hash-mode plugin cannot crack multiple hashes with the same salt, please select one of the hashes.");
return -1;
}
}
}
// test iteration count in association attack // test iteration count in association attack
if (user_options->attack_mode == ATTACK_MODE_ASSOCIATION) if (user_options->attack_mode == ATTACK_MODE_ASSOCIATION)