1
mirror of https://github.com/hashcat/hashcat synced 2024-11-13 17:28:58 +01:00

Fixed -m 9100 base64 encoded hash output

This commit is contained in:
jsteube 2019-02-23 23:46:10 +01:00
parent 2f75a2bcff
commit 25540494d6

View File

@ -179,9 +179,9 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
char tmp_buf[64];
base64_encode (int_to_lotus64, (const u8 *) buf, 36, (u8 *) tmp_buf);
const int tmp_len = base64_encode (int_to_lotus64, (const u8 *) buf, 36, (u8 *) tmp_buf);
tmp_buf[49] = 0;
tmp_buf[tmp_len] = 0;
const int line_len = snprintf (line_buf, line_size, "(H%s)", tmp_buf);