1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 18:08:20 +00:00

-m 13100 = Kerberos 5 TGS-REP: parser failed to correctly verify the hash

This commit is contained in:
philsmd 2017-02-14 17:45:05 +01:00
parent 57af020b32
commit 49ba6cb05d
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF
2 changed files with 3 additions and 2 deletions

View File

@ -51,6 +51,7 @@
- Fixed string not null terminated while reading maskfiles - 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 -j or -k is used
- Fixed pointer to local outside scope in case --markov-hcstat is not 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 ## Technical

View File

@ -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, '*'); data_pos = (u8 *) strchr ((const char *) account_pos, '*');
if (data_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
/* Skip '*' */ /* Skip '*' */
data_pos++; data_pos++;
if (data_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
u32 account_len = data_pos - account_pos + 1; u32 account_len = data_pos - account_pos + 1;
if (account_len >= 512) return (PARSER_SALT_LENGTH); if (account_len >= 512) return (PARSER_SALT_LENGTH);