1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00

Startup: Show some attack-specific optimizer constraints on start, eg: minimum and maximum support password- and salt-length

This commit is contained in:
jsteube 2017-08-22 10:08:28 +02:00
parent 8853884f2a
commit a8f3392344
2 changed files with 19 additions and 0 deletions

View File

@ -47,6 +47,7 @@
- OpenCL Kernels: Updated default scrypt TMTO to be ideal for latest NV and AMD top models - OpenCL Kernels: Updated default scrypt TMTO to be ideal for latest NV and AMD top models
- OpenCL Kernels: Vectorized tons of slow kernels to improve CPU cracking speed - OpenCL Kernels: Vectorized tons of slow kernels to improve CPU cracking speed
- OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1 - OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1
- Startup: Show some attack-specific optimizer constraints on start, eg: minimum and maximum support password- and salt-length
- WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections - WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections
## ##

View File

@ -468,6 +468,24 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx,
event_log_info (hashcat_ctx, NULL); event_log_info (hashcat_ctx, NULL);
/**
* 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);
if (hashconfig->is_salted)
{
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, NULL);
/** /**
* Watchdog and Temperature balance * Watchdog and Temperature balance
*/ */