Created
July 14, 2016 04:56
-
-
Save seadog007/528a40a893454cc13096873557fd5f6a to your computer and use it in GitHub Desktop.
AIS3 Pre-Exam Crypto 2
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
#!/bin/bash | |
for i in `seq 1 60` | |
do | |
res=`hashpump --data 'expire=1467328034' -k $i -a '&expire=1567327189' -s 35bacfa31f73d6403a99b524cbfc5b0c76193472 | sed 's/\\\x/%/g'` | |
auth=`echo $res | head -n1` | |
data=`echo $res | tail -n1` | |
curl -s "https://quiz.ais3.org:8014/?$data&auth=$auth" | grep 'id="flag"' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment