Fixed a hash validation error when trying to load Android FDE < 4.3 hashes
This commit is contained in:
Vendored
+1
-1
Submodule deps/OpenCL-Headers/CL updated: 42e7afe066...bf0f43b76f
@@ -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
|
||||
|
||||
+1
-1
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user