mirror of
https://github.com/hashcat/hashcat.git
synced 2025-03-24 19:35:41 +00:00
Fix -m 4520 for salt length exactly 15
This commit is contained in:
parent
7aab78fb52
commit
2dd8018915
@ -285,7 +285,7 @@ __kernel void m04520_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
||||
d = SHA1M_D;
|
||||
e = SHA1M_E;
|
||||
|
||||
if (salt_len > 14)
|
||||
if (salt_len > 15)
|
||||
{
|
||||
u32x c0[4] = { 0 };
|
||||
u32x c1[4] = { 0 };
|
||||
@ -865,7 +865,7 @@ __kernel void m04520_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
||||
d = SHA1M_D;
|
||||
e = SHA1M_E;
|
||||
|
||||
if (salt_len > 14)
|
||||
if (salt_len > 15)
|
||||
{
|
||||
u32x c0[4] = { 0 };
|
||||
u32x c1[4] = { 0 };
|
||||
|
@ -341,7 +341,7 @@ __kernel void m04520_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
||||
d = SHA1M_D;
|
||||
e = SHA1M_E;
|
||||
|
||||
if (salt_len > 14)
|
||||
if (salt_len > 15)
|
||||
{
|
||||
u32x c0[4] = { 0 };
|
||||
u32x c1[4] = { 0 };
|
||||
@ -979,7 +979,7 @@ __kernel void m04520_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
||||
d = SHA1M_D;
|
||||
e = SHA1M_E;
|
||||
|
||||
if (salt_len > 14)
|
||||
if (salt_len > 15)
|
||||
{
|
||||
u32x c0[4] = { 0 };
|
||||
u32x c1[4] = { 0 };
|
||||
|
@ -242,7 +242,7 @@ void m04520m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl
|
||||
d = SHA1M_D;
|
||||
e = SHA1M_E;
|
||||
|
||||
if (salt_len > 14)
|
||||
if (salt_len > 15)
|
||||
{
|
||||
u32x c0[4] = { 0 };
|
||||
u32x c1[4] = { 0 };
|
||||
@ -773,7 +773,7 @@ void m04520s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl
|
||||
d = SHA1M_D;
|
||||
e = SHA1M_E;
|
||||
|
||||
if (salt_len > 14)
|
||||
if (salt_len > 15)
|
||||
{
|
||||
u32x c0[4] = { 0 };
|
||||
u32x c1[4] = { 0 };
|
||||
|
Loading…
Reference in New Issue
Block a user