mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 22:58:30 +00:00
fixes #2009: padding problem in -m 13400 tests
This commit is contained in:
parent
4bef41ed1b
commit
a86235a68c
@ -299,6 +299,8 @@ sub module_generate_hash
|
||||
|
||||
$expected_bytes = $cipher->decrypt ($contents_hash);
|
||||
|
||||
$expected_bytes = substr ($expected_bytes . "\x00" x 32, 0, 32); # padding
|
||||
|
||||
$hash = sprintf ('$keepass$*%d*%d*%d*%s*%s*%s*%s*%s%s',
|
||||
$version,
|
||||
$iteration,
|
||||
|
Loading…
Reference in New Issue
Block a user