Skip to content

Latest commit

 

History

History

PDF Password Cracker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

PDF Password Cracker

This Python script attempts to crack the password of a PDF file using a brute-force attack. It iterates through all possible combinations of characters in a specified character set until it finds the correct password or exhausts all possibilities.

Dependencies

  • Python 3.x
  • PyPDF2 library

How to Use

  1. Ensure you have Python installed on your system.
  2. Install the PyPDF2 library using pip:
    pip install PyPDF2
    
  3. Clone or download this repository to your local machine.
  4. Place the PDF file you want to crack in the same directory as the crackpdf.py script.
  5. Open a terminal or command prompt.
  6. Navigate to the directory containing the crackpdf.py script.
  7. Run the script by executing the command:
    python crackpdf.py
    
  8. Follow the on-screen instructions to provide the file name and maximum password length.

Cloning the Repository

To clone this repository to your local machine, use the following command:

git clone https://github.com/tanujgupta18/pdf-password-cracker.git