1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 16:38:35 +00:00

Add -m 10700 pure kernel for -L support

This commit is contained in:
jsteube 2017-07-11 10:43:18 +02:00
parent 97390a9332
commit 2c79d26778
3 changed files with 1260 additions and 4 deletions

1257
OpenCL/m10700-pure.cl Normal file

File diff suppressed because it is too large Load Diff

View File

@ -781,7 +781,7 @@ __kernel void m10700_loop (__global pw_t *pws, __global const kernel_rule_t *rul
if ((loop_pos + loop_cnt) == 64)
{
for (u32 i = 64; i < ex + 32; i++)
for (u32 i = 64; i < (ex & 0xff) + 32; i++)
{
ex = do_round (w0, pw_len, &ctx, s_te0, s_te1, s_te2, s_te3, s_te4);
}

View File

@ -23100,8 +23100,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
hashconfig->kern_type = KERN_TYPE_PDF17L8;
hashconfig->dgst_size = DGST_SIZE_4_8;
hashconfig->parse_func = pdf17l8_parse_hash;
hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE
| OPTI_TYPE_NOT_ITERATED;
hashconfig->opti_type = OPTI_TYPE_ZERO_BYTE;
hashconfig->dgst_pos0 = 0;
hashconfig->dgst_pos1 = 1;
hashconfig->dgst_pos2 = 2;
@ -24658,7 +24657,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
break;
case 8600: hashconfig->pw_max = 16;
break;
case 10700: hashconfig->pw_max = 16; // todo
case 10700: hashconfig->pw_max = 16; // -L available
break;
case 12500: hashconfig->pw_max = 20; // todo
break;