1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Fixed a bug where hashcat reported an invalid password for a zero-length password in LM

Fixes https://github.com/hashcat/hashcat/issues/434
This commit is contained in:
Jens Steube 2016-07-15 13:30:25 +02:00
parent 2167df6915
commit 62390b9cfa
3 changed files with 15 additions and 7 deletions

View File

@ -21,6 +21,8 @@ if (check (digest_tp,
int digest_pos = find_hash (digest_tp, digests_cnt, &digests_buf[digests_offset]);
if (digest_pos != -1)
{
if ((il_pos + slice) < il_cnt)
{
const u32 final_hash_pos = digests_offset + digest_pos;
@ -30,3 +32,4 @@ if (check (digest_tp,
}
}
}
}

View File

@ -1,6 +1,10 @@
if ((il_pos + slice) < il_cnt)
{
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);
}
}

View File

@ -27,6 +27,7 @@
- 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: