Created
September 13, 2018 17:11
-
-
Save JohnHammond/1347b6a6e6e35e742bc0ed0353c4df77 to your computer and use it in GitHub Desktop.
IceCTF 'ilovebees' Get Flag 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
#!/bin/bash | |
exiftool -b favicon/00000.png | dd bs=1 skip=156 | head -c -84 2>/dev/null > file | |
for i in {00001..00109} | |
do | |
exiftool -b favicon/$i.png | dd bs=1 skip=156 | head -c -84 2>/dev/null >> file | |
done | |
strings file | grep -i "IceCTF" --color=none | tail -n 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment