From 39af031ced759117fc7c067722950072f1827abd Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 31 Jul 2018 17:31:54 +0200 Subject: [PATCH] Fix Token Length Exception on NetNTLMv1 hashes --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index f462ef44d..aeec1377c 100644 --- a/src/interface.c +++ b/src/interface.c @@ -4501,7 +4501,7 @@ int netntlmv1_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_ token.attr[1] = TOKEN_ATTR_VERIFY_LENGTH; // domain - token.len_min[2] = 1; + token.len_min[2] = 0; token.len_max[2] = 45; token.sep[2] = ':'; token.attr[2] = TOKEN_ATTR_VERIFY_LENGTH;