mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-08 23:01:14 +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:
parent
2167df6915
commit
62390b9cfa
@ -21,6 +21,8 @@ if (check (digest_tp,
|
|||||||
int digest_pos = find_hash (digest_tp, digests_cnt, &digests_buf[digests_offset]);
|
int digest_pos = find_hash (digest_tp, digests_cnt, &digests_buf[digests_offset]);
|
||||||
|
|
||||||
if (digest_pos != -1)
|
if (digest_pos != -1)
|
||||||
|
{
|
||||||
|
if ((il_pos + slice) < il_cnt)
|
||||||
{
|
{
|
||||||
const u32 final_hash_pos = digests_offset + digest_pos;
|
const u32 final_hash_pos = digests_offset + digest_pos;
|
||||||
|
|
||||||
@ -30,3 +32,4 @@ if (check (digest_tp,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
|
|
||||||
|
if ((il_pos + slice) < il_cnt)
|
||||||
|
{
|
||||||
const u32 final_hash_pos = digests_offset + 0;
|
const u32 final_hash_pos = digests_offset + 0;
|
||||||
|
|
||||||
if (atomic_inc (&hashes_shown[final_hash_pos]) == 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);
|
mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos + slice);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
- Fixed a bug where hashcat crashes in case of a scrypt P setting > 1
|
- 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 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 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:
|
* changes v2.01 -> v3.00:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user