From 9a135de1c14d1dedabf38693d92ba734b64c0c14 Mon Sep 17 00:00:00 2001 From: philsmd Date: Mon, 21 Mar 2016 18:51:21 +0100 Subject: [PATCH] fixed problem with -m 5600 = NetNTLMv2 parser --- docs/changes.txt | 4 ++++ src/shared.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index f691d2829..a7bdc9dfc 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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 diff --git a/src/shared.c b/src/shared.c index 3679ae7ee..f1002b7a9 100644 --- a/src/shared.c +++ b/src/shared.c @@ -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;