1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-24 06:31:07 +00:00
This commit is contained in:
jsteube 2017-06-16 10:26:15 +02:00
parent e9c010115d
commit 4b2d9f0f29

View File

@ -1123,10 +1123,13 @@ __kernel void m02500_comp (__global pw_t *pws, __global const kernel_rule_t *rul
&& (digest_final[1] == wpa->keymic[1]) && (digest_final[1] == wpa->keymic[1])
&& (digest_final[2] == wpa->keymic[2]) && (digest_final[2] == wpa->keymic[2])
&& (digest_final[3] == wpa->keymic[3])) && (digest_final[3] == wpa->keymic[3]))
{
if (atomic_inc (&hashes_shown[digest_cur]) == 0)
{ {
mark_hash (plains_buf, d_return_buf, salt_pos, digests_cnt, digest_pos, digest_cur, gid, 0); mark_hash (plains_buf, d_return_buf, salt_pos, digests_cnt, digest_pos, digest_cur, gid, 0);
} }
} }
}
// the same code again, but with BE order for the t++ // the same code again, but with BE order for the t++
// note we dont need nonce_error_correction = 0, we already tested this above // note we dont need nonce_error_correction = 0, we already tested this above
@ -1363,8 +1366,11 @@ __kernel void m02500_comp (__global pw_t *pws, __global const kernel_rule_t *rul
&& (digest_final[1] == wpa->keymic[1]) && (digest_final[1] == wpa->keymic[1])
&& (digest_final[2] == wpa->keymic[2]) && (digest_final[2] == wpa->keymic[2])
&& (digest_final[3] == wpa->keymic[3])) && (digest_final[3] == wpa->keymic[3]))
{
if (atomic_inc (&hashes_shown[digest_cur]) == 0)
{ {
mark_hash (plains_buf, d_return_buf, salt_pos, digests_cnt, digest_pos, digest_cur, gid, 0); mark_hash (plains_buf, d_return_buf, salt_pos, digests_cnt, digest_pos, digest_cur, gid, 0);
} }
} }
} }
}