1
mirror of https://github.com/hashcat/hashcat synced 2024-12-23 14:13:43 +01:00

Some fixes for rare kernels

This commit is contained in:
jsteube 2016-05-20 19:05:54 +02:00
parent 37953cdc8f
commit f2598025c6
26 changed files with 230 additions and 230 deletions

View File

@ -26,7 +26,7 @@ if (check (digest_tp,
if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
{
mark_hash (plains_buf, d_result, salt_pos, digest_pos, final_hash_pos, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, digest_pos, final_hash_pos, gid, il_pos);
}
}
}

View File

@ -26,7 +26,7 @@ if (check (digest_tp,
if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
{
mark_hash (plains_buf, d_result, salt_pos, digest_pos, final_hash_pos, gid, il_pos + slice);
mark_hash (plains_buf, d_return_buf, salt_pos, digest_pos, final_hash_pos, gid, il_pos + slice);
}
}
}

View File

@ -7,6 +7,6 @@ if ((r0 == search[0])
if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
{
mark_hash (plains_buf, d_result, salt_pos, 0, final_hash_pos, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos);
}
}

View File

@ -1,3 +1,3 @@
const u32 final_hash_pos = digests_offset + 0;
mark_hash (plains_buf, d_result, salt_pos, 0, final_hash_pos, gid, il_pos + slice);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos + slice);

View File

@ -670,7 +670,7 @@ __kernel void m06211_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -686,7 +686,7 @@ __kernel void m06211_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -702,7 +702,7 @@ __kernel void m06211_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -670,7 +670,7 @@ __kernel void m06212_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -686,7 +686,7 @@ __kernel void m06212_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -702,7 +702,7 @@ __kernel void m06212_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -741,7 +741,7 @@ __kernel void m06212_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -758,7 +758,7 @@ __kernel void m06212_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -775,7 +775,7 @@ __kernel void m06212_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -670,7 +670,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -686,7 +686,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -702,7 +702,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -741,7 +741,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -758,7 +758,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -775,7 +775,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -815,7 +815,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -833,7 +833,7 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -578,7 +578,7 @@ __kernel void m06221_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -594,7 +594,7 @@ __kernel void m06221_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -610,7 +610,7 @@ __kernel void m06221_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -578,7 +578,7 @@ __kernel void m06222_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -594,7 +594,7 @@ __kernel void m06222_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -610,7 +610,7 @@ __kernel void m06222_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -649,7 +649,7 @@ __kernel void m06222_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -666,7 +666,7 @@ __kernel void m06222_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -683,7 +683,7 @@ __kernel void m06222_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -578,7 +578,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -594,7 +594,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -610,7 +610,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -649,7 +649,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -666,7 +666,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -683,7 +683,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -723,7 +723,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -741,7 +741,7 @@ __kernel void m06223_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -2215,7 +2215,7 @@ __kernel void m06231_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2231,7 +2231,7 @@ __kernel void m06231_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2247,7 +2247,7 @@ __kernel void m06231_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -1984,7 +1984,7 @@ __kernel void m06232_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2000,7 +2000,7 @@ __kernel void m06232_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2016,7 +2016,7 @@ __kernel void m06232_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2055,7 +2055,7 @@ __kernel void m06232_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2072,7 +2072,7 @@ __kernel void m06232_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2089,7 +2089,7 @@ __kernel void m06232_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -1984,7 +1984,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2000,7 +2000,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2016,7 +2016,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2055,7 +2055,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2072,7 +2072,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2089,7 +2089,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2129,7 +2129,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -2147,7 +2147,7 @@ __kernel void m06233_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
{
mark_hash (plains_buf, hashes_shown, 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -1573,7 +1573,7 @@ __kernel void m06800_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
&& (out[2] == salt_buf[2])
&& (out[3] == salt_buf[3]))
{
mark_hash (plains_buf, hashes_shown, digests_offset + 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -640,7 +640,7 @@ __kernel void m07500_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, timestamp_ct) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -743,7 +743,7 @@ __kernel void m07500_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, timestamp_ct) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -688,7 +688,7 @@ __kernel void m07500_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, timestamp_ct) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -841,7 +841,7 @@ __kernel void m07500_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, timestamp_ct) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -634,7 +634,7 @@ void m07500 (__local RC4_KEY *rc4_keys, u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[
if (decrypt_and_check (&rc4_keys[lid], tmp, timestamp_ct) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -1893,7 +1893,7 @@ __kernel void m08800_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
// MSDOS5.0
if ((r0 == 0x4f44534d) && (r1 == 0x302e3553))
{
mark_hash (plains_buf, hashes_shown, digests_offset + 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, 0);
d_return_buf[lid] = 1;
}
@ -1961,7 +1961,7 @@ __kernel void m08800_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if ((r[5] < 2) && (r[6] < 16) && ((r[14] & 0xffff) == 0xEF53))
{
mark_hash (plains_buf, hashes_shown, digests_offset + 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -1349,7 +1349,7 @@ __kernel void m11300_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
&& (out[2] == 0x10101010)
&& (out[3] == 0x10101010))
{
mark_hash (plains_buf, hashes_shown, digests_offset + 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -2015,7 +2015,7 @@ __kernel void m11600_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if ((out[0] == 0) && (out[1] == 0) && (out[2] == 0) && (out[3] == 0))
{
mark_hash (plains_buf, hashes_shown, digests_offset + 0, gid, 0);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, 0);
d_return_buf[lid] = 1;
}

View File

@ -779,7 +779,7 @@ void m13100 (__local RC4_KEY *rc4_keys, u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[
if (decrypt_and_check (&rc4_keys[lid], tmp, krb5tgs_bufs[salt_pos].edata2, krb5tgs_bufs[salt_pos].edata2_len, K2, checksum) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -866,7 +866,7 @@ __kernel void m13100_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, krb5tgs_bufs[salt_pos].edata2, krb5tgs_bufs[salt_pos].edata2_len, K2, checksum) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -961,7 +961,7 @@ __kernel void m13100_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, krb5tgs_bufs[salt_pos].edata2, krb5tgs_bufs[salt_pos].edata2_len, K2, checksum) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -859,7 +859,7 @@ __kernel void m13100_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, krb5tgs_bufs[salt_pos].edata2, krb5tgs_bufs[salt_pos].edata2_len, K2, checksum) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -1003,7 +1003,7 @@ __kernel void m13100_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
if (decrypt_and_check (&rc4_keys[lid], tmp, krb5tgs_bufs[salt_pos].edata2, krb5tgs_bufs[salt_pos].edata2_len, K2, checksum) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -781,7 +781,7 @@ void m13100 (__local RC4_KEY *rc4_keys, u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[
if (decrypt_and_check (&rc4_keys[lid], tmp, krb5tgs_bufs[salt_pos].edata2, krb5tgs_bufs[salt_pos].edata2_len, K2, checksum) == 1)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -1227,7 +1227,7 @@ __kernel void m13200_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
if(tmps[gid].cipher[0]==0xA6A6A6A6 && tmps[gid].cipher[1]==0xA6A6A6A6)
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}

View File

@ -1758,7 +1758,7 @@ __kernel void m13400_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
&& esalt_bufs[salt_pos].contents_hash[6] == final_digest[6]
&& esalt_bufs[salt_pos].contents_hash[7] == final_digest[7])
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -1964,7 +1964,7 @@ __kernel void m13400_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
&& esalt_bufs[salt_pos].contents_hash[6] == final_digest[6]
&& esalt_bufs[salt_pos].contents_hash[7] == final_digest[7])
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}
@ -2004,7 +2004,7 @@ __kernel void m13400_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
&& esalt_bufs[salt_pos].expected_bytes[2] == out[2]
&& esalt_bufs[salt_pos].expected_bytes[3] == out[3])
{
mark_hash (plains_buf, hashes_shown, digests_offset, gid, il_pos);
mark_hash (plains_buf, d_return_buf, salt_pos, 0, digests_offset + 0, gid, il_pos);
d_return_buf[lid] = 1;
}