mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-21 23:58:07 +00:00
Fix hash encoding in WinZip format
This commit is contained in:
parent
6716447dfc
commit
dda0cc2d4b
@ -383,7 +383,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
||||
snprintf (auth_tmp + j, 3, "%02x", ptr[i]);
|
||||
}
|
||||
|
||||
const int line_len = snprintf (line_buf, line_size, "%s*%u*%u*%u*%s*%x*%x*%s*%s*%s",
|
||||
const int line_len = snprintf (line_buf, line_size, "%s*%u*%u*%u*%s*%04x*%x*%s*%s*%s",
|
||||
SIGNATURE_ZIP2_START,
|
||||
zip2->type,
|
||||
zip2->mode,
|
||||
|
Loading…
Reference in New Issue
Block a user