1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

tests: allow tests with 05 AND 04 in zlib header for electrum 5

This commit is contained in:
philsmd 2019-12-11 15:45:47 +01:00 committed by GitHub
parent d0a59db595
commit 415842524d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ sub module_generate_hash
my $zlib_rate = ord (substr ($compressed_data, 2, 1)) & 0x07;
if ($zlib_rate != 0x05)
if (($zlib_rate != 0x04) && ($zlib_rate != 0x05))
{
next;
}