mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-26 08:28:20 +00:00
Increase max password length for DCC2 to 32
This commit is contained in:
parent
2c95be5c87
commit
c9caca2b0c
@ -479,10 +479,10 @@ __kernel void m02100_init (__global pw_t *pws, __global const kernel_rule_t *rul
|
|||||||
|
|
||||||
u32 w1[4];
|
u32 w1[4];
|
||||||
|
|
||||||
w1[0] = 0;
|
w1[0] = pws[gid].i[ 4];
|
||||||
w1[1] = 0;
|
w1[1] = pws[gid].i[ 5];
|
||||||
w1[2] = 0;
|
w1[2] = pws[gid].i[ 6];
|
||||||
w1[3] = 0;
|
w1[3] = pws[gid].i[ 7];
|
||||||
|
|
||||||
u32 w2[4];
|
u32 w2[4];
|
||||||
|
|
||||||
@ -527,8 +527,9 @@ __kernel void m02100_init (__global pw_t *pws, __global const kernel_rule_t *rul
|
|||||||
* generate dcc
|
* generate dcc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
append_0x80_1x4_S (w0, pw_len);
|
append_0x80_4x4_S (w0, w1, w2, w3, pw_len);
|
||||||
|
|
||||||
|
make_utf16le_S (w1, w2, w3);
|
||||||
make_utf16le_S (w0, w0, w1);
|
make_utf16le_S (w0, w0, w1);
|
||||||
|
|
||||||
w3[2] = pw_len * 2 * 8;
|
w3[2] = pw_len * 2 * 8;
|
||||||
|
@ -24393,7 +24393,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
break;
|
break;
|
||||||
case 1800: hashconfig->pw_max = 16;
|
case 1800: hashconfig->pw_max = 16;
|
||||||
break;
|
break;
|
||||||
case 2100: hashconfig->pw_max = 16;
|
case 2100: hashconfig->pw_max = 32;
|
||||||
break;
|
break;
|
||||||
case 3000: hashconfig->pw_max = 7;
|
case 3000: hashconfig->pw_max = 7;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user