Skip to content

Instantly share code, notes, and snippets.

@pr0PM
Last active September 28, 2020 05:45
Show Gist options
  • Save pr0PM/89be4d35778a912b4156e1a80a41ce90 to your computer and use it in GitHub Desktop.
Save pr0PM/89be4d35778a912b4156e1a80a41ce90 to your computer and use it in GitHub Desktop.
DarkCTF
# DarkCTF (ctf.darkarmy.xyz)
# Chall Name: P_g_G_i_P_t
# Author: pr0PM
# To verify the signature the most common way is using:
# gpg --verify <detached file> <file-to-check-against>
# The bruteforce + hashcat is innovative but that wasted a lot of your time
# Here is the intended solution
# Guess why the filenames were still a number not some random string :)
for i in {0..10000}; do
if gpg --verify a.sig ./10k/$i 2>/dev/null; then
echo $i
exit 0
fi
done
echo "Trash Author + Trash Challenge"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment