Giter VIP home page Giter VIP logo

destroyer-official / destroyer-pdf_cracker Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 367 KB

EthicalPDFCracker ๐ŸŒ: Educational PDF password cracker using multiprocessing & multithreading. Explore responsibly, showcasing parallel processing for ethical password cracking. ๐Ÿ”๐Ÿ” #PDFCracking #EthicalHacking #PythonScripting

License: MIT License

Python 100.00%
bruteforc pdf-cracker pdf-password-cracker bruteforce-password-cracke password-cracker-hash-cracking

destroyer-pdf_cracker's Introduction

๐Ÿ“• EthicalPDFCracke ๐Ÿ”“

License: MIT Python

---

๐Ÿšจ Disclaimer ๐Ÿšจ

IMPORTANT: Password cracking, even for educational purposes, can be risky and may violate ethical or legal standards. Always respect copyright and digital rights. Exercise caution and ensure you have the necessary permissions before attempting to crack any PDF passwords. This script is intended for educational use only to demonstrate parallel processing and password cracking techniques. It is not intended for malicious or unauthorized use.

๐ŸŒŸ Overview

The Parallel PDF Password Cracker utilizes parallel processing to explore password cracking techniques in a controlled educational environment. This Python script maximizes CPU utilization to accelerate password cracking attempts on encrypted PDF files.

๐Ÿ“‚ Project Structure

.
โ”œโ”€โ”€ pdf_cracker.py
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ ...

๐Ÿ› ๏ธ Features

  • Parallel Processing: Leverages multiprocessing and multithreading for faster password cracking.
  • Customizable Options: Fine-tune chunk size, process count, and thread count for optimal performance.
  • User-friendly Interface: Interact with the script seamlessly through a clear command-line interface.
  • Error Handling: Handles common file-related errors gracefully.
  • Logging: Provides detailed records for debugging and analysis.

๐Ÿš€ Usage

  1. Clone the repository:

    git clone https://github.com/Destroyer-official/EthicalPDFCracker.git
  2. Navigate to the directory:

    cd EthicalPDFCracker
  3. Install the required packages:

    pip install -r requirements.txt
  4. Execute the script:

    python pdf_cracker.py -pdf <path_to_pdf_file> -pass <path_to_password_list>

Optional Arguments

  • -ch: Size of password chunks for parallel processing (default: 10000).
  • -pr: Number of parallel processes (default: 50).
  • -thr: Number of threads per process (default: 20).

Example Usage:

python pdf_cracker.py -pdf encrypted_file.pdf -pass passwords.txt -ch 10000 -pr 50 -thr 20

๐Ÿ“š How It Works

The pdf_cracker.py script is designed to efficiently crack the password of encrypted PDF files by leveraging parallel processing. Here's a breakdown of its key components and functionality:

  1. ๐Ÿ” Password Decryption Attempt:

    • The script attempts to decrypt the PDF file using a list of passwords provided in the specified password list file.
  2. โšก Parallel Processing:

    • To expedite the cracking process, the script utilizes multiprocessing to parallelize password attempts. Each chunk of passwords is processed concurrently, making the most out of the available CPU cores.
  3. ๐Ÿ”„ Multithreading:

    • Within each process, multithreading is employed to further optimize performance. This allows multiple password attempts to be made simultaneously within a process.
  4. ๐Ÿฑ Chunked Passwords:

    • Passwords are divided into chunks based on the specified chunk size. This allows for efficient distribution of password attempts across multiple processes.
  5. โš ๏ธ Error Handling:

    • The script incorporates robust error handling to gracefully manage common file-related errors. Any exceptions encountered during the decryption attempts are logged for further analysis.
  6. ๐Ÿ“ Logging:

    • Detailed logs are generated to record important events during the password cracking process. This includes information about successful password attempts or encountered errors.
  7. โš™๏ธ Customizable Options:

    • Users have the flexibility to customize the chunk size, number of parallel processes, and number of threads per process through command-line arguments. This ensures adaptability to different hardware configurations.
  8. ๐Ÿšช Exit Upon Success:

    • As soon as the correct password is found, the script exits, and the correct password is displayed. This minimizes unnecessary processing once the goal is achieved.
  9. ๐ŸŽ“ Educational Purpose Emphasis:

    • The script is developed strictly for educational purposes and is intended to showcase the principles of parallel processing in the context of password cracking. Users are reminded to use the script responsibly and adhere to ethical and legal standards.

By understanding these key components, users can gain insights into the inner workings of the script and appreciate the efficiency achieved through parallel processing for password cracking.

๐Ÿค Contributing

Contributions are welcome! Fork the repository, make your enhancements, and create a pull request.

๐Ÿ“œ License

โš–๏ธ This project is licensed under the MIT License - see the LICENSE file for details.

destroyer-pdf_cracker's People

Contributors

destroyer-official avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.