1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 06:38:11 +00:00

Fixed a hash validation error when trying to load Android FDE < 4.3 hashes

This commit is contained in:
jsteube 2017-03-21 14:07:16 +01:00
parent c7ed2ade17
commit a30a9f5b45
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 42e7afe066a67107c2236b86c9864a472f8eead8
Subproject commit bf0f43b76f4556c3d5717f8ba8a01216b27f4af7

View File

@ -24,6 +24,7 @@
- Fixed a problem with parsing and displaying -m 7000 = Fortigate (FortiOS) hashes
- Fixed --remove was not applied in case all hashes have been cracked by potfile or weak-hash check
- Fixed a race condition when a session finishes the input-base was freed but accessed afterwards
- Fixed a hash validation error when trying to load Android FDE < 4.3 hashes
##
## Technical

View File

@ -7930,7 +7930,7 @@ int androidfde_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE
digest[2] = byte_swap_32 (digest[2]);
digest[3] = byte_swap_32 (digest[3]);
if (is_valid_hex_string (saltbuf_pos, 64) == false) return (PARSER_HASH_ENCODING);
if (is_valid_hex_string (saltbuf_pos, 32) == false) return (PARSER_HASH_ENCODING);
salt->salt_buf[0] = hex_to_u32 ((const u8 *) &saltbuf_pos[ 0]);
salt->salt_buf[1] = hex_to_u32 ((const u8 *) &saltbuf_pos[ 8]);