mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-27 17:08:12 +00:00
-m 13100 = Kerberos 5 TGS-REP: parser failed to correctly verify the hash
This commit is contained in:
parent
57af020b32
commit
49ba6cb05d
@ -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…
Reference in New Issue
Block a user