Tags: sha2017ctf
Rating:
```
#!/bin/bash
url=http://location.stillhackinganyway.nl/fla
flag=`cut -d / -f 4 <<< $url`
#echo -n $flag
flag1=$flag
for count in {1..9}
do
url=`curl -s $url | sed -n 's/.*href="\([^"]*\).*/\1/p'`
flag=`cut -d / -f 4 <<< $url`
# echo -n $flag
flag1=$flag1$flag
done
url_encoded="${flag1//+/ }"
printf '%b\n' "${url_encoded//%/\\x}"
```
```
# ./Location.sh
flag{f51cf5e7e1d003986acd2864139553a1}
```