secret
Created

  • Download Gist
tmp.py
Python
1 2 3 4 5 6 7
import requests
 
creds = [('WORKGROUP\\user_one','s3cret'),('MYDOMAIN\\user_two','pa55w0rd')]
for user,pass in creds:
response = requests.get('http://ntlm_auth_site.com',auth=requests.auth.HttpNtlmAuth(user,pass))
if response.status_code != 401:
print "found working creds -- %s:%s" % (user,pass)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.