Last active
September 28, 2020 05:45
-
-
Save pr0PM/89be4d35778a912b4156e1a80a41ce90 to your computer and use it in GitHub Desktop.
DarkCTF
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
# 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