1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

fixed -m 5500 parser, avoid strange crashes

This commit is contained in:
philsmd 2016-03-21 09:11:10 +01:00
parent ee315fb8a1
commit e7e5333d23
2 changed files with 5 additions and 1 deletions

View File

@ -167,6 +167,10 @@ Type.: Bug
File.: Host File.: Host
Desc.: Fixed some checks in the parser of -m 5300 = IKE-PSK MD5 and -m 5400 = IKE-PSK SHA1 Desc.: Fixed some checks in the parser of -m 5300 = IKE-PSK MD5 and -m 5400 = IKE-PSK SHA1
Type.: Bug
File.: Host
Desc.: Fixed some checks in the parser of -m 5500 = NetNTLMv1
* changes v2.00 -> v2.01: * changes v2.00 -> v2.01:
Type.: Bug Type.: Bug

View File

@ -10795,7 +10795,7 @@ int netntlmv1_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
char *hash_pos = strchr (srvchall_pos, ':'); char *hash_pos = strchr (srvchall_pos, ':');
if (srvchall_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED); if (hash_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
uint srvchall_len = hash_pos - srvchall_pos; uint srvchall_len = hash_pos - srvchall_pos;