if (digest_pos != -1)
{
- const u32 final_hash_pos = digests_offset + digest_pos;
-
- if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
+ if ((il_pos + slice) < il_cnt)
{
- mark_hash (plains_buf, d_return_buf, salt_pos, digest_pos, final_hash_pos, gid, il_pos + slice);
+ const u32 final_hash_pos = digests_offset + digest_pos;
+
+ if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
+ {
+ mark_hash (plains_buf, d_return_buf, salt_pos, digest_pos, final_hash_pos, gid, il_pos + slice);
+ }
}
}
}
-const u32 final_hash_pos = digests_offset + 0;
-if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
+if ((il_pos + slice) < il_cnt)
{
- mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos + slice);
+ const u32 final_hash_pos = digests_offset + 0;
+
+ if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
+ {
+ mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos + slice);
+ }
}
- Fixed a bug where hashcat crashes in case of a scrypt P setting > 1
- Fixed a bug where hashcat did not correctly use the newly cracked plains whenever --loopback or the induction folder was used
- Fixed a bug where hashcat did not correctly remove hashes of type WPA/WPA2 even if present in potfile
+- Fixed a bug where hashcat reported an invalid password for a zero-length password in LM
* changes v2.01 -> v3.00: