Loading repository data…
Loading repository data…
Sridip-99 / repository
A simple Python-based password cracker for ZIP and PDF files using wordlist (Brute-force dictionary) attacks. Includes a multithreaded PDF cracker for faster performance. Built for ethical hacking and cybersecurity learning.
This project demonstrates how to ethically crack password-protected ZIP and PDF files using Python and wordlists. It includes a basic ZIP cracker and a multi-threaded PDF cracker for faster performance.
Before starting this project go to your browser & search for-
rockyou.txt github
download it then move the rockyou.txt file to the working directory of this project, where the other files exists.
Now, let's start the project:
⚠️ For educational and ethical use only. Do not use this tool for unauthorized or malicious purposes.
Password_cracker/
├── test.pdf # Password-protected PDF
├── test.zip # Password-protected ZIP
├── rockyou.txt # Wordlist file containing possible passwords
├── README.md # Project documentation (this file)
├── zip_cracker.py # Script to brute-force ZIP passwords
└── pdf_cracker_threaded.py # Multi-threaded script to crack PDF passwords
python zip_cracker.py
zip_cracker.py

test.ziptest.zip is givenpip install pikepdf
then run this code:
python pdf_cracker_threaded.py
pdf_cracker_threaded.py

test.pdftest.pdf is givenReads passwords from the wordlist one by one.
Attempts to extract the ZIP file using each password.
Stops when the correct password is found.
Utilizes ThreadPoolExecutor to try many passwords concurrently.
Uses pikepdf to check if the PDF can be opened with each password.
Stops all threads once a valid password is found.
✅ Example Output
[❌] Tried: admin
[❌] Tried: 123456
[✅] Password found: chocolate1
This tool is intended for:
Learning and demonstration
Ethical hacking and authorized testing
Recovering your own forgotten passwords
⚠️ Do not use this for illegal or unauthorized purposes.
Made with ❤️ by Sridip
GitHub | LinkedIn
If you like this, ⭐ the repo and feel free to contribute!