LockPickPDF is a graphical user interface (GUI) application built using PyQt6 that attempts to decrypt password-protected PDF files using a list of potential passwords.
- Select a single PDF file or a folder containing multiple PDFs for batch processing.
- Decrypt PDF files using a list of passwords provided in a
passwords.txtfile. - Displays progress of the decryption process.
- Uses
qpdffor PDF decryption.
PyQt6for building the GUI.qpdffor handling PDF decryption.
-
Clone the repository:
git clone https://github.com/jumbubly/LockPickPDF.git cd LockPickPDF -
Install Python dependencies:
pip install -r requirements.txt for updated or latest libraries > pip install <libraryname>
-
Install
qpdf:-
Linux (Debian/Ubuntu):
sudo apt-get install qpdf
-
macOS (using Homebrew):
brew install qpdf
-
Windows: Download and install
qpdffrom the qpdf GitHub Releases.
-
-
Prepare
passwords.txt:- Create a
passwords.txtfile in the same directory as the script. - Add potential passwords, each on a new line.
Example
passwords.txt: 123 password1 password2 password3 - Create a
-
Run the application:
python lockpickpdf.pyUsing the Application:
- Click on "Select File" to choose a single PDF file, or "Select Folder" to process multiple PDFs in a folder.
- Choose the Save Location where the decrypted PDFs will be saved.
- Click "Process PDFs" to start the decryption process.
Progress and Logs:
- The progress bar will show the decryption progress.
- Logs will be displayed in the text area for each file processed.
Feel free to submit issues or pull requests if you would like to contribute to this project.
This project is protected by copyright, and all rights are reserved. Unauthorized use, reproduction, or distribution of this code or any associated materials is prohibited.
This tool is intended for educational purposes only. Decrypting PDF files without permission is illegal. Use this tool responsibly.