{"id":13467931,"url":"https://github.com/mufeedvh/pdfrip","last_synced_at":"2025-04-02T03:15:49.188Z","repository":{"id":38535829,"uuid":"458186107","full_name":"mufeedvh/pdfrip","owner":"mufeedvh","description":"A multi-threaded PDF password cracking utility equipped with commonly encountered password format builders and dictionary attacks.","archived":false,"fork":false,"pushed_at":"2024-06-18T16:33:30.000Z","size":5469,"stargazers_count":663,"open_issues_count":21,"forks_count":77,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-30T01:36:49.355Z","etag":null,"topics":["hashcat","password","password-cracker","pdf","rust","security","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mufeedvh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-11T12:54:11.000Z","updated_at":"2024-10-27T14:17:04.000Z","dependencies_parsed_at":"2022-08-04T03:15:22.882Z","dependency_job_id":"fb144013-3747-4a4e-a75c-652340cec823","html_url":"https://github.com/mufeedvh/pdfrip","commit_stats":{"total_commits":69,"total_committers":8,"mean_commits":8.625,"dds":0.5072463768115942,"last_synced_commit":"461fe2f50f26ee0397f9670923fd3727cc3b7d3b"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fpdfrip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fpdfrip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fpdfrip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fpdfrip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mufeedvh","download_url":"https://codeload.github.com/mufeedvh/pdfrip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246392158,"owners_count":20769694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hashcat","password","password-cracker","pdf","rust","security","security-tools"],"created_at":"2024-07-31T15:01:02.724Z","updated_at":"2025-04-02T03:15:49.168Z","avatar_url":"https://github.com/mufeedvh.png","language":"Rust","funding_links":[],"categories":["Rust","Web and Cloud Security","Specific file formats"],"sub_categories":["Pentesting","PDF"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003ePDFRip\u003c/code\u003e\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003eA multi-threaded PDF password cracking utility equipped with commonly encountered password format builders and dictionary attacks.\u003c/strong\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n## 📖 Table of Contents\n\n- [Introduction](#%E2%84%B9%EF%B8%8F-introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contribution](#contribution)\n- [License](#license)\n\n## ℹ️ Introduction\n\n\n**pdfrip** is a fast multithreaded PDF password cracking utility written in Rust with support for wordlist-based dictionary attacks, date, number range, and alphanumeric brute-forcing, and a custom query builder for password formats.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cimg height=\"300\" width=\"400\" src=\"screenshots/pdfrip-usage.gif\"\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n## Features\n\n- **Fast:** Performs about 50k-100k+ passwords per second utilizing full CPU cores.\n- **Custom Query Builder:** You can write your own queries like `STRING{69-420}` which would generate and use a wordlist with the full number range.\n- **Date Bruteforce:** You can pass in a year which would bruteforce all 365 days of the year in `DDMMYYYY` format which is a pretty commonly used password format for PDFs.\n- **Number Bruteforce:** Just give a number range like `5000-100000` and it would bruteforce with the whole range.\n- **Default Bruteforce:** Specify a maximum and optionally a minimum length for the password search and all passwords of length 4 up to the specified maximum consisting of letters and numbers (`a-zA-Z0-9`) will be tried\n\n## Installation\n\nInstall with `cargo`:\n\n    $ cargo install --git https://github.com/mufeedvh/pdfrip.git\n    \n[Install Rust/Cargo](https://rust-lang.org/tools/install)\n\n## Build From Source\n\n**Prerequisites:**\n\n* [Git](https://git-scm.org/downloads)\n* [Rust](https://rust-lang.org/tools/install)\n* Cargo (Automatically installed when installing Rust)\n* A C linker (Only for Linux, generally comes pre-installed)\n\n```\n$ git clone https://github.com/mufeedvh/pdfrip.git\n$ cd pdfrip/\n$ cargo build --release\n```\n\nThe first command clones this repository into your local machine and the last two commands enters the directory and builds the source in release mode.\n\n## Usage\n\nGet a list of all the arguments:\n\n    $ pdfrip --help\n    \nStart a dictionary attack with a wordlist:\n\n    $ pdfrip -f encrypted.pdf wordlist rockyou.txt\n    \nBruteforce number ranges for the password:\n\n    $ pdfrip -f encrypted.pdf range 1000 9999\n    \nBruteforce all dates in a span (inclusive in both ends) of years for the password in `DDMMYYYY` format:\n\n    $ pdfrip -f encrypted.pdf date 1900 2000\n\nBruteforce arbitrary strings of length 4-8:\n\n    $ pdfrip -f encrypted.pdf default-query --max-length 8\n\nBruteforce arbitrary strings of length 3:\n\n    $ pdfrip -f encrypted.pdf default-query --max-length 3 --min-length 3\n\nBuild a custom query to generate a wordlist: (useful when you know the password format)\n\n    $ pdfrip -f encrypted.pdf custom-query ALICE{1000-9999}\n\n    $ pdfrip -f encrypted.pdf custom-query DOC-ID{0-99}-FILE\n\nEnable preceding zeros for custom queries: (which would make `{10-5000}` to `{0010-5000}` matching the end range's digits)\n\n    $ pdfrip -f encrypted.pdf custom-query ALICE{10-9999} --add-preceding-zeros\n\n## Contribution\n\nWays to contribute:\n\n- Suggest a feature\n- Report a bug\n- Fix something and open a pull request\n- Help me document the code\n- Spread the word\n\n## License\n\nLicensed under the MIT License, see \u003ca href=\"https://github.com/mufeedvh/pdfrip/blob/master/LICENSE\"\u003eLICENSE\u003c/a\u003e for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Fpdfrip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmufeedvh%2Fpdfrip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Fpdfrip/lists"}