Lines Matching refs:ntlm
36 from impacket import nmb, ntlm, uuid, crypto, LOG
677 auth = ntlm.getNTLMSSPType1('','', self._Connection['RequireSigning'])
706 ntlmChallenge = ntlm.NTLMAuthChallenge(respToken['ResponseToken'])
708 …av_pairs = ntlm.AV_PAIRS(ntlmChallenge['TargetInfoFields'][:ntlmChallenge['TargetInfoFields_len']])
709 if av_pairs[ntlm.NTLMSSP_AV_HOSTNAME] is not None:
711 … self._Session['ServerName'] = av_pairs[ntlm.NTLMSSP_AV_HOSTNAME][1].decode('utf-16le')
715 if av_pairs[ntlm.NTLMSSP_AV_DOMAINNAME] is not None:
717 … if self._Session['ServerName'] != av_pairs[ntlm.NTLMSSP_AV_DOMAINNAME][1].decode('utf-16le'):
718 … self._Session['ServerDomain'] = av_pairs[ntlm.NTLMSSP_AV_DOMAINNAME][1].decode('utf-16le')
722 if av_pairs[ntlm.NTLMSSP_AV_DNS_DOMAINNAME] is not None:
724 …self._Session['ServerDNSDomainName'] = av_pairs[ntlm.NTLMSSP_AV_DNS_DOMAINNAME][1].decode('utf-16l…
739 …type3, exportedSessionKey = ntlm.getNTLMSSPType3(auth, respToken['ResponseToken'], user, password,…