mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-23 23:18:21 +00:00
Improve salt length reporting in hashconfig
Increase the amount of hash modes that will have their salt min/max length showed by including SALT_TYPE_GENERIC
This commit is contained in:
parent
6716447dfc
commit
29259ff973
@ -996,7 +996,7 @@ static void main_hashconfig_post (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE
|
||||
|
||||
if (hashconfig->is_salted == true)
|
||||
{
|
||||
if (hashconfig->opti_type & OPTI_TYPE_RAW_HASH)
|
||||
if (hashconfig->opti_type & OPTI_TYPE_RAW_HASH || hashconfig->salt_type & SALT_TYPE_GENERIC)
|
||||
{
|
||||
event_log_info (hashcat_ctx, "Minimum salt length supported by kernel: %u", hashconfig->salt_min);
|
||||
event_log_info (hashcat_ctx, "Maximum salt length supported by kernel: %u", hashconfig->salt_max);
|
||||
|
Loading…
Reference in New Issue
Block a user