mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-24 05:12:05 +00:00
Fix module_hash_binary_parse() in -m 14600 module
This commit is contained in:
parent
ae360d8dca
commit
13b99d5825
@ -235,10 +235,7 @@ int module_hash_binary_parse (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE
|
|||||||
|
|
||||||
const int parser_status = module_hash_decode (hashconfig, hash->digest, hash->salt, hash->esalt, hash->hook_salt, hash->hash_info, hashes->hashfile, strlen (hashes->hashfile));
|
const int parser_status = module_hash_decode (hashconfig, hash->digest, hash->salt, hash->esalt, hash->hook_salt, hash->hash_info, hashes->hashfile, strlen (hashes->hashfile));
|
||||||
|
|
||||||
if (parser_status != PARSER_OK)
|
if (parser_status != PARSER_OK) continue;
|
||||||
{
|
|
||||||
if (parser_status != PARSER_LUKS_KEY_DISABLED) continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
hashes_cnt++;
|
hashes_cnt++;
|
||||||
}
|
}
|
||||||
@ -499,7 +496,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
const u32 active = byte_swap_32 (hdr.keyblock[keyslot_idx].active);
|
const u32 active = byte_swap_32 (hdr.keyblock[keyslot_idx].active);
|
||||||
const u32 stripes = byte_swap_32 (hdr.keyblock[keyslot_idx].stripes);
|
const u32 stripes = byte_swap_32 (hdr.keyblock[keyslot_idx].stripes);
|
||||||
|
|
||||||
if (active != LUKS_KEY_ENABLED)
|
if (active != LUKS_KEY_ENABLED)
|
||||||
{
|
{
|
||||||
fclose (fp);
|
fclose (fp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user