mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-14 18:47:41 -07:00
Pass Challenge value to the LDAP parsing function
This commit is contained in:
parent
95c0d6e673
commit
33bde41902
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ def ParseSearch(data):
|
|||
elif re.search(r'(?i)(objectClass0*.*supportedSASLMechanisms)', data):
|
||||
return str(LDAPSearchSupportedMechanismsPacket(MessageIDASNStr=data[8:9],MessageIDASN2Str=data[8:9]))
|
||||
|
||||
def ParseLDAPHash(data, client):
|
||||
def ParseLDAPHash(data, client, Challenge):
|
||||
SSPIStart = data[42:]
|
||||
LMhashLen = struct.unpack('<H',data[54:56])[0]
|
||||
|
||||
|
@ -67,7 +67,7 @@ def ParseNTLM(data,client, Challenge):
|
|||
NTLMChall.calculate()
|
||||
return str(NTLMChall)
|
||||
elif re.search('(NTLMSSP\x00\x03\x00\x00\x00)', data):
|
||||
ParseLDAPHash(data,client)
|
||||
ParseLDAPHash(data, client, Challenge)
|
||||
|
||||
def ParseLDAPPacket(data, client, Challenge):
|
||||
if data[1:2] == '\x84':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue