This repository contains a small set of decryption tools.
The ssngenerator.pl
tool generates all possible Austrian Social Security numbers for a given birthdate.
Usage:
ssngenerator.pl <birtdate>
<birthdate> = MMDDYY
For example to generate all Social Security numbers for the birthdate 11th May of 1999 and to write them to a file use the following command:
ssngenerator.pl 110599 > password.list
If a prefix and a postfix should be added to each line, the following commands can be used:
- Create a new file:
awk '{ print "prefix" $0 "postfix" }' password.list > newpassword.list
- Inplace:
gawk -i inplace '{ print "prefix" $0 "postfix" }' password.list
Use decryptpdf.sh
to decrypt a pdf file using a password list.
Usage:
./decryptpdf.sh <password file> <encrypted pdf> <decrypted pdf>
Example:
./decryptpdf.sh passwords.list working.pdf decrypted.pdf
Required tools:
qpdf