diff --git a/docs/changes.txt b/docs/changes.txt index a5a6f9543..94481a3d6 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -47,6 +47,7 @@ - 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 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 ## diff --git a/src/main.c b/src/main.c index 5f3e91a16..480ce9926 100644 --- a/src/main.c +++ b/src/main.c @@ -468,6 +468,24 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, 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 */