Merge pull request #1081 from philsmd/master

-m 13100 = Kerberos 5 TGS-REP: parser failed to correctly verify the hash
pull/1082/head
Jens Steube 7 years ago committed by GitHub
commit 37c1cbbf5b

@ -51,6 +51,7 @@
- Fixed string not null terminated while reading maskfiles
- Fixed pointer to local outside scope in case -j or -k is used
- Fixed pointer to local outside scope in case --markov-hcstat is not used
- Fixed a problem within the Kerberos 5 TGS-REP (-m 13100) hash parser
##
## Technical

@ -12186,11 +12186,11 @@ int krb5tgs_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UN
data_pos = (u8 *) strchr ((const char *) account_pos, '*');
if (data_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
/* Skip '*' */
data_pos++;
if (data_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
u32 account_len = data_pos - account_pos + 1;
if (account_len >= 512) return (PARSER_SALT_LENGTH);

Loading…
Cancel
Save