pdf-password
Brute Force PDF File passwords
How to Use
-
Download a password word list file. For example, the
rockyou
list. -
Copy the password word list to checkout directory and rename it to
wordlist.txt
. -
Set up a python virtual environment with:
python -m venv --prompt pdf-password .venv
-
Source the virtual environment with:
source .venv/bin/activate
-
Install required packages using
pip
:pip install pip-tools pip-compile requirements.in pip-sync
-
Run the script with:
python pdf_password.py protected.pdf