Lines Matching refs:ntlm

44 from impacket import smb, nmb, ntlm, uuid, LOG
2259 negotiateMessage = ntlm.NTLMAuthNegotiate()
2268 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_56:
2269 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_56
2270 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_128:
2271 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_128
2272 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_KEY_EXCH:
2273 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_KEY_EXCH
2274 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY:
2275 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
2276 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_UNICODE:
2277 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_UNICODE
2278 if negotiateMessage['flags'] & ntlm.NTLM_NEGOTIATE_OEM:
2279 ansFlags |= ntlm.NTLM_NEGOTIATE_OEM
2281 …ags |= ntlm.NTLMSSP_NEGOTIATE_VERSION | ntlm.NTLMSSP_NEGOTIATE_TARGET_INFO | ntlm.NTLMSSP_TARGET_T…
2284 av_pairs = ntlm.AV_PAIRS()
2286 …av_pairs[ntlm.NTLMSSP_AV_HOSTNAME] = av_pairs[ntlm.NTLMSSP_AV_DNS_HOSTNAME] = smbServer.getServerN…
2287 …av_pairs[ntlm.NTLMSSP_AV_DOMAINNAME] = av_pairs[ntlm.NTLMSSP_AV_DNS_DOMAINNAME] = smbServer.getSer…
2288 …av_pairs[ntlm.NTLMSSP_AV_TIME] = struct.pack('<q', (116444736000000000 + calendar.timegm(time.gmti…
2290 challengeMessage = ntlm.NTLMAuthChallenge()
2329 authenticateMessage = ntlm.NTLMAuthChallengeResponse()
2602 negotiateMessage = ntlm.NTLMAuthNegotiate()
2611 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_56:
2612 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_56
2613 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_128:
2614 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_128
2615 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_KEY_EXCH:
2616 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_KEY_EXCH
2617 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY:
2618 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
2619 if negotiateMessage['flags'] & ntlm.NTLMSSP_NEGOTIATE_UNICODE:
2620 ansFlags |= ntlm.NTLMSSP_NEGOTIATE_UNICODE
2621 if negotiateMessage['flags'] & ntlm.NTLM_NEGOTIATE_OEM:
2622 ansFlags |= ntlm.NTLM_NEGOTIATE_OEM
2624 …ags |= ntlm.NTLMSSP_NEGOTIATE_VERSION | ntlm.NTLMSSP_NEGOTIATE_TARGET_INFO | ntlm.NTLMSSP_TARGET_T…
2627 av_pairs = ntlm.AV_PAIRS()
2629 …av_pairs[ntlm.NTLMSSP_AV_HOSTNAME] = av_pairs[ntlm.NTLMSSP_AV_DNS_HOSTNAME] = smbServer.getServerN…
2630 …av_pairs[ntlm.NTLMSSP_AV_DOMAINNAME] = av_pairs[ntlm.NTLMSSP_AV_DNS_DOMAINNAME] = smbServer.getSer…
2631 …av_pairs[ntlm.NTLMSSP_AV_TIME] = struct.pack('<q', (116444736000000000 + calendar.timegm(time.gmti…
2633 challengeMessage = ntlm.NTLMAuthChallenge()
2672 authenticateMessage = ntlm.NTLMAuthChallengeResponse()