Skip to content

AndreasFerdinand/CryptoTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Tools

This repository contains a small set of decryption tools.

Social Security number generator

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

PDF decryption

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

Releases

No releases published

Packages

No packages published