An educational tool demonstrating brute-force password cracking techniques through simulation and real PDF encryption attacks. This project is designed for learning purposes to illustrate cybersecurity concepts and password vulnerabilities.
- Features
- Sample Output
- Installation
- Usage
- Requirements
- Technology
- Disclaimer
- Contributing
- License
- Contact
- Mode 1: Password Simulation: Analyze and simulate cracking numeric passwords using brute-force methods.
- Mode 2: PDF Cracking: Perform real brute-force attacks on encrypted PDF files with an intuitive file selection dialog.
- Live progress tracking with ANSI color output.
- Support for parallel processing in auto mode for improved performance.
- Option to save decrypted PDFs after successful cracking.
Mode 1:
HASH: b634e7fc... TRY: 017607000 H/s: 841k TIME:20.93s [░░░░░░░░░░░ 1.76%]
✓ PASSWORD CRACKED! (12.38% keyspace, 15.33s)
Mode 2:
PDF: encrypted.pdf TRY: 012345 H/s: 95 TIME: 2.5s [████████░░░░ 50.00%]
✓ PDF PASSWORD CRACKED! (Password: 123456)
- Ensure you have Python 3.x installed on your system.
- Clone the repository or download the source code.
- Install the required dependencies:
pip install pikepdfRun the script from the command line:
python ciperX.py- Choose the desired mode:
- Mode 1: Password simulation
- Mode 2: PDF cracking
- For simulation mode: Enter a numeric PIN (1-10 digits) to simulate cracking.
- For PDF mode: Provide the path to the encrypted PDF file. Select whether you know the password length for optimized cracking. The auto mode utilizes parallel processing for faster results.
- After successful PDF cracking, you have the option to save the decrypted PDF.
- Python 3.x
pikepdflibrary for PDF manipulation (pip install pikepdf)
- Pure Python implementation for password simulation demonstrations.
- Utilizes
pikepdffor handling real PDF encryption and decryption. - Features ANSI color support for enhanced terminal output.
- Includes live progress bars and updates during cracking processes.
- User-friendly file selection dialogs for PDF input.
This tool is intended for educational purposes only. It demonstrates concepts related to password security and PDF encryption vulnerabilities. Do not use this tool for unauthorized access to systems, files, or data. The authors are not responsible for any misuse or illegal activities conducted with this software.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure they are well-tested.
- Submit a pull request with a clear description of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions, suggestions, or support, please open an issue on GitHub or contact the maintainer.