mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Fixed invalid handling of keyfiles in Keepass if transf_random_seed doesn't change
This commit is contained in:
parent
78ee811fa9
commit
05eff0d683
@ -71,6 +71,7 @@
|
||||
- Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23
|
||||
- Fixed wordlist handling in -m 3000 when candidate passwords use the $HEX[...] syntax
|
||||
- Fixed accepted salt length by PKCS#8 Private Keys modules
|
||||
- Fixed invalid handling of keyfiles in Keepass if transf_random_seed doesn't change
|
||||
|
||||
##
|
||||
## Technical
|
||||
|
@ -503,8 +503,16 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
||||
salt->salt_buf[ 5] = keepass->transf_random_seed[5];
|
||||
salt->salt_buf[ 6] = keepass->transf_random_seed[6];
|
||||
salt->salt_buf[ 7] = keepass->transf_random_seed[7];
|
||||
salt->salt_buf[ 8] = keepass->keyfile[0];
|
||||
salt->salt_buf[ 9] = keepass->keyfile[1];
|
||||
salt->salt_buf[10] = keepass->keyfile[2];
|
||||
salt->salt_buf[11] = keepass->keyfile[3];
|
||||
salt->salt_buf[12] = keepass->keyfile[4];
|
||||
salt->salt_buf[13] = keepass->keyfile[5];
|
||||
salt->salt_buf[14] = keepass->keyfile[6];
|
||||
salt->salt_buf[15] = keepass->keyfile[7];
|
||||
|
||||
salt->salt_len = 32;
|
||||
salt->salt_len = 64;
|
||||
|
||||
return (PARSER_OK);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user