1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Merge pull request #1520 from philsmd/patch-1

max/min password/salt length vs max/min supported lengths by kernel
This commit is contained in:
Jens Steube 2018-02-13 19:17:01 +01:00 committed by GitHub
commit 875e8aceb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -481,15 +481,15 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx,
* Optimizer constraints
*/
event_log_info (hashcat_ctx, "Password length minimum: %u", hashconfig->pw_min);
event_log_info (hashcat_ctx, "Password length maximum: %u", hashconfig->pw_max);
event_log_info (hashcat_ctx, "Minimum password length supported by kernel: %u", hashconfig->pw_min);
event_log_info (hashcat_ctx, "Maximum password length supported by kernel: %u", hashconfig->pw_max);
if (hashconfig->is_salted == true)
{
if (hashconfig->opti_type & OPTI_TYPE_RAW_HASH)
{
event_log_info (hashcat_ctx, "Salt length minimum: %u", hashconfig->salt_min);
event_log_info (hashcat_ctx, "Salt length maximum: %u", hashconfig->salt_max);
event_log_info (hashcat_ctx, "Minimim salt length supported by kernel: %u", hashconfig->salt_min);
event_log_info (hashcat_ctx, "Maximum salt length supported by kernel: %u", hashconfig->salt_max);
}
}