Skip to content

Instantly share code, notes, and snippets.

@Harish2997
Created May 11, 2020 09:27
Show Gist options
  • Save Harish2997/f78aa8c1dd9d3ac3a556013973e55c0a to your computer and use it in GitHub Desktop.
Save Harish2997/f78aa8c1dd9d3ac3a556013973e55c0a to your computer and use it in GitHub Desktop.
request-ntlm
import requests
from requests_ntlm import HttpNtlmAuth
requests.get("http://ntlm_protected_site.com",auth=HttpNtlmAuth('domain\\username','password'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment