NTLM pbs ...

This commit is contained in:
citronneur
2015-02-21 10:07:19 +01:00
parent 31b0920a87
commit 3fe16130d8
2 changed files with 3 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ class TSSmartCardCreds(univ.Sequence):
namedtype.OptionalNamedType('domainHint', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 3))) namedtype.OptionalNamedType('domainHint', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 3)))
) )
def createBERRequest(negoTypes): def createDERRequest(negoTypes):
""" """
@summary: create TSRequest from list of Type @summary: create TSRequest from list of Type
@param negoTypes: {list(Type)} @param negoTypes: {list(Type)}

View File

@@ -223,9 +223,8 @@ class TPKT(RawLayer, IFastPathSender):
@summary: use to start NLA (NTLM over SSL) protocol @summary: use to start NLA (NTLM over SSL) protocol
must be called after startTLS function must be called after startTLS function
""" """
#send first NTLM packet #send NTLM negotiate message packet
self.transport.write(cssp.createBERRequest( [ ntlm.NegotiateMessage() ] )) self.transport.write(cssp.createDERRequest( [ ntlm.NegotiateMessage() ] ))
def readNTLMChallenge(self, data): def readNTLMChallenge(self, data):