mykb - A collection of random software
JohnTheRipper
This is a bunch of scripts to crack a bunch of different passwords offline
Installation
git clone https://github.com/magnumripper/JohnTheRipper.git
cd JohnTheRipper/src
./configure && make
Usage
For pdfs
Create a hash of the pdf you want to open
cd JohnTheRipper/run ./pdf2john.pl <pdf file> > <output file>
The output file will be a hash file of the meta info of the pdf. Will be refered to by hash-file from now on.
Crack the hash
cd JohnTheRipper/run ./john <hash file>
Retrieve the password
cd JohnTheRipper/run ./john --show <hash file>
The password will be dispalyed the format of
<path-to-pdf>:password
sh /root/user/secred.pdf:54321