mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-25 16:08:39 +00:00
Fix constant separator when printing IPMI hashes
This commit is contained in:
parent
584d6f093c
commit
949b61a6bb
@ -147,7 +147,8 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
line_len += snprintf (line_buf + line_len, line_size - line_len, "%02x", ptr[i ^ 3]); // the ^ 3 index converts LE -> BE
|
line_len += snprintf (line_buf + line_len, line_size - line_len, "%02x", ptr[i ^ 3]); // the ^ 3 index converts LE -> BE
|
||||||
}
|
}
|
||||||
|
|
||||||
line_len += snprintf (line_buf + line_len, line_size - line_len, ":%08x%08x%08x%08x%08x",
|
line_len += snprintf (line_buf + line_len, line_size - line_len, "%c%08x%08x%08x%08x%08x",
|
||||||
|
hashconfig->separator,
|
||||||
digest[0],
|
digest[0],
|
||||||
digest[1],
|
digest[1],
|
||||||
digest[2],
|
digest[2],
|
||||||
|
Loading…
Reference in New Issue
Block a user