Skip to content

Latest commit

 

History

History

cracking-pdfs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Before running the script, install the following dependencies:

$ pip install -r requirements.txt

Running the script on the RockYou wordlist:

$ python pdf_cracker.py foo-protected.pdf rockyou.txt
Guessing password:  28%|██████████████████████████▌                                                                   | 4061847/14344391 [04:59<12:38, 13565.22it/s]
[+] Password found: abc123

If you want to use a custom wordlist, you can pass it as an argument:

$ python pdf_cracker.py foo-protected.pdf wordlist.txt