mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-23 06:58:31 +00:00
Merge pull request #4140 from PenguinKeeper7/Salt-UX-Fix
Improve salt length reporting in hashconfig
This commit is contained in:
commit
5605a5e172
@ -1020,7 +1020,7 @@ static void main_hashconfig_post (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE
|
|||||||
|
|
||||||
if (hashconfig->is_salted == true)
|
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, "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);
|
event_log_info (hashcat_ctx, "Maximum salt length supported by kernel: %u", hashconfig->salt_max);
|
||||||
|
Loading…
Reference in New Issue
Block a user