mirror of
https://github.com/AlexBocken/mykb.git
synced 2024-11-09 16:47:23 +01:00
753 B
753 B
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
/root/user/secred.pdf:54321