fixed problem with -m 5600 = NetNTLMv2 parser
authorphilsmd <philsmd@hashcat.net>
Mon, 21 Mar 2016 17:51:21 +0000 (18:51 +0100)
committerphilsmd <philsmd@hashcat.net>
Mon, 21 Mar 2016 17:51:21 +0000 (18:51 +0100)
docs/changes.txt
src/shared.c

index f691d28..a7bdc9d 100644 (file)
@@ -171,6 +171,10 @@ Type.: Bug
 File.: Host
 Desc.: Fixed some checks in the parser of -m 5500 = NetNTLMv1
 
+Type.: Bug
+File.: Host
+Desc.: Fixed some checks in the parser of -m 5600 = NetNTLMv2
+
 * changes v2.00 -> v2.01:
 
 Type.: Bug
index 3679ae7..f1002b7 100644 (file)
@@ -11031,7 +11031,7 @@ int netntlmv2_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
 
   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;