From c99c9edf1945f293c5d651692e60cd12fcb45cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Notin?= Date: Wed, 9 Jan 2019 19:16:52 +0100 Subject: [PATCH] Replace ParseSMB2NTLMv2Hash() by ParseSMBHash() to handle NTLMv1 and NTLMv2 --- servers/SMB.py | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/servers/SMB.py b/servers/SMB.py index 1561871..e2bbd90 100644 --- a/servers/SMB.py +++ b/servers/SMB.py @@ -135,32 +135,6 @@ def ParseSMBHash(data,client, Challenge): #Parse SMB NTLMSSP v1/v2 'fullhash': WriteHash, }) - -def ParseSMB2NTLMv2Hash(data,client, Challenge): #Parse SMB NTLMv2 - SSPIStart = data[113:] - data = data[113:] - LMhashLen = struct.unpack('