mirror of
https://github.com/hashcat/hashcat.git
synced 2025-05-06 00:49:45 +00:00
Workaround old salt length problem
This commit is contained in:
parent
22da2407e9
commit
062e539b02
@ -123,6 +123,15 @@ sub single
|
|||||||
($IS_OPTIMIZED == 1) ? $constraints->[3]->[1] : $constraints->[1]->[1]);
|
($IS_OPTIMIZED == 1) ? $constraints->[3]->[1] : $constraints->[1]->[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($IS_OPTIMIZED == 1)
|
||||||
|
{
|
||||||
|
# longer than 51 triggers a parser bug in old hashcat, have to leave this during migration phase
|
||||||
|
# #define SALT_MAX_OLD 51
|
||||||
|
# salt_max = SALT_MAX_OLD;
|
||||||
|
|
||||||
|
next if ($salt_len >= 51);
|
||||||
|
}
|
||||||
|
|
||||||
# make sure the salt length is only increasing, not sure if we actually need it
|
# make sure the salt length is only increasing, not sure if we actually need it
|
||||||
|
|
||||||
next if ($salt_len_prev > $salt_len);
|
next if ($salt_len_prev > $salt_len);
|
||||||
|
Loading…
Reference in New Issue
Block a user