From 0cf1087010088ef1c3fecc7d2ad851c7c49d0639 Mon Sep 17 00:00:00 2001 From: lgandx Date: Sun, 9 Oct 2016 22:20:06 -0300 Subject: [PATCH] fixed bug in hash parsing. --- servers/SMB.py | 52 ++++++++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/servers/SMB.py b/servers/SMB.py index 599b5b7..df44a2b 100644 --- a/servers/SMB.py +++ b/servers/SMB.py @@ -89,32 +89,22 @@ def GrabSessionID(data): return SessionID def ParseSMBHash(data,client): #Parse SMB NTLMSSP v1/v2 - SecBlobLen = struct.unpack(' 60: - SMBHash = SSPIStart[NthashOffset:NthashOffset+NthashLen].encode("hex").upper() - DomainLen = struct.unpack('