1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 23:48:39 +00:00

max esalt_buf for sip fixed: we also need to append 0x80

This commit is contained in:
philsmd 2017-02-14 21:45:18 +01:00
parent be3ce44f75
commit f351461ecd
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -11122,6 +11122,8 @@ int sip_auth_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_U
tmp_digest[3]); tmp_digest[3]);
} }
if (esalt_len >= 152) return (PARSER_SALT_LENGTH);
// add 0x80 to esalt // add 0x80 to esalt
esalt_buf_ptr[esalt_len] = 0x80; esalt_buf_ptr[esalt_len] = 0x80;