mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 08:10:59 +00:00
Merge pull request #2265 from philsmd/patch-7
fixes #2009: padding problem in -m 13400 tests
This commit is contained in:
commit
cb865cb05d
@ -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