In this tutorial, we gonna crack PDF password with Pdfcrack-ng. Pdfcrack-ng
is an awesome open-source PDF cracker. Learn more about it here https://github.com/MichaelSasser/pdfcrack-ng
How to Install Pdfcrack-ng
Install cmake. Assuming your distro uses apt you can run
sudo apt install cmake
Clone the pdfcrack-ng Repo
git clone https://github.com/MichaelSasser/pdfcrack-ng.git
Build and install pdfcrack-ng
cd pdfcrack-ng
mkdir build && cd build
sudo apt install cmake
cmake --build .
sudo cmake --install .
Running Pdfcrack-ng with a Word List
Now that we have pdfcrack-ng setup let’s try and crack this pdf with this password file.
pdfcrack-ng -f level_one_protected.pdf -w level_one_passwords.txt
Your output should look like and be almost instant (1/10th of a second to crack):
Found user-password: <password>
Now that you know how to crack a pdf with a word list let’s make some of our own.
0 comments:
Post a Comment