{"id":23439998,"url":"https://github.com/wowinter13/pkcs12cracker","last_synced_at":"2025-10-30T15:31:12.974Z","repository":{"id":268952684,"uuid":"880564212","full_name":"wowinter13/pkcs12cracker","owner":"wowinter13","description":"Just a simple tool to concurrently attack password-protected PKCS#12 (PFX/P12) files","archived":false,"fork":false,"pushed_at":"2025-01-11T00:35:59.000Z","size":2520,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T02:17:11.236Z","etag":null,"topics":["bruteforce","cli","concurrency","hacking-tools","pkcs","pkcs12","rust","rust-lang"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/pkcs12cracker","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/wowinter13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2024-10-30T00:21:21.000Z","updated_at":"2025-01-13T01:22:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"44bcdce9-e1a8-401f-ad20-f73164df5866","html_url":"https://github.com/wowinter13/pkcs12cracker","commit_stats":null,"previous_names":["wowinter13/pkcs12cracker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowinter13%2Fpkcs12cracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowinter13%2Fpkcs12cracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowinter13%2Fpkcs12cracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowinter13%2Fpkcs12cracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wowinter13","download_url":"https://codeload.github.com/wowinter13/pkcs12cracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238989113,"owners_count":19564013,"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":["bruteforce","cli","concurrency","hacking-tools","pkcs","pkcs12","rust","rust-lang"],"created_at":"2024-12-23T15:38:46.770Z","updated_at":"2025-10-30T15:31:07.421Z","avatar_url":"https://github.com/wowinter13.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd bgcolor=\"#4B3B39\"\u003e\n      \u003cdiv align=\"center\"\u003e\n        \u003cpicture\u003e\n          \u003cimg src=\"img/mekus.png\" alt=\"Mekus\"\u003e\n        \u003c/picture\u003e\n        \u003ch1 style=\"color:white\"\u003epkcs12cracker\u003c/h1\u003e\n        \u003cp style=\"color:white\"\u003e High-performance, multi-threaded PKCS#12 password cracker written in Rust. Supports dictionary, pattern-based, and brute force attacks with focus on performance and reliability.\u003cs\u003eIts main goal is to be faster, more efficient, and more reliable than existing tools written in Go and C.\u003c/s\u003e\u003c/p\u003e \n      \u003c/div\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.rust-lang.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/built_with-Rust-dca282.svg?logo=rust\" /\u003e\u003c/a\u003e\n\u003ca href=\"http://makeapullrequest.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/wowinter13/pkcs12cracker/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/wowinter13/pkcs12cracker.svg?style=flat-square\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/wowinter13/pkcs12cracker/actions\"\u003e\u003cimg src=\"https://github.com/wowinter13/pkcs12cracker/actions/workflows/rust.yml/badge.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### Documentation\n\nAPI reference and usage examples are available at [docs.rs](https://docs.rs/crate/pkcs12cracker/latest).\n\n### Installation\n\n```bash\ncargo install pkcs12cracker\n\n# Brew tap (macOS)\nbrew tap wowinter13/pkcs12cracker\nbrew install pkcs12cracker\n\n# Or build from source\ngit clone https://github.com/wowinter13/pkcs12cracker\ncd pkcs12cracker\ncargo build --release\n```\n\n### Know-How\n\n- Memory-mapped file handling for efficient dictionary processing\n- Parallel processing with configurable thread count\n- Cache-friendly chunk-based password cracking\n- Optimized string handling and memory allocation\n- Multiple attack strategies support\n\n#### Discussable:\n- OS related performance optimizations.\n- Explore advanced multithreading techniques (try scoped threads or another raw threading approach).\n\n### Basic Usage\n\n#### Help\n```bash\nFast, multi-threaded PKCS#12 password cracker\n\nUsage: pkcs12cracker [OPTIONS] \u003cFILE\u003e...\n\nArguments:\n  \u003cFILE\u003e...  Path to the PKCS#12 (.p12/.pfx) file to crack\n\nOptions:\n  -d, --dictionary \u003cFILE\u003e      Use dictionary-based attack with the specified wordlist file\n  -p, --pattern \u003cPATTERN\u003e      Use pattern-based attack (e.g., 'Pass@@rd' where '@' marks variable positions)\n  -s, --pattern-symbol \u003cCHAR\u003e  Symbol to mark variable positions in pattern [default: @] [default: @]\n  -m, --min-length \u003cNUM\u003e       Minimum password length for brute force attack [default: 1] [default: 1]\n      --max-length \u003cNUM\u003e       Maximum password length for brute force attack [default: 6] [default: 6]\n  -b, --brute-force            Enable brute force attack mode\n  -c, --charset \u003cSETS\u003e         Character sets to use in brute force attack\n      --custom-chars \u003cCHARS\u003e   Custom character set for brute force attack\n      --delimiter \u003cCHAR\u003e       Dictionary file entry delimiter [default: newline] [default: \"\\n\"]\n  -t, --threads \u003cNUM\u003e          Number of cracking threads [default: number of CPU cores] [default: 1]\n  -h, --help                   Print help (see more with '--help')\n  -V, --version                Print version\n```\n\n#### Dictionary Attack\nUses a wordlist file to crack passwords:\n```bash\n# Basic usage with newline-separated dictionary\npkcs12cracker -d wordlist.txt cert.p12\n```\n\n#### Pattern-Based Attack\nCracks passwords matching a specific pattern:\n```bash\n# Custom symbol for variable positions\npkcs12cracker -p \"Pass##rd\" -s \"#\" cert.p12\n```\n\n#### Brute Force Attack\n\n```bash\n# Custom character sets\npkcs12cracker -b -c aAn cert.p12  # alphanumeric\n```\n\n### Advanced Usage\n\n#### Character Sets\nThe `-c` flag supports combining multiple character sets:\n- `a` - lowercase letters (a-z)\n- `A` - uppercase letters (A-Z)\n- `n` - digits (0-9)\n- `s` - special characters (!@#$%^\u0026*...)\n- `x` - all of the above\n\nExamples:\n```bash\n# Uppercase + numbers\npkcs12cracker -b -c An cert.p12\n\n# All characters except special\npkcs12cracker -b -c aAn cert.p12\n\n# Everything\npkcs12cracker -b -c x cert.p12\n```\n\n#### Custom Character Sets\nFor specific requirements, use `--custom-chars`:\n```bash\n# Combine with standard sets\npkcs12cracker -b -c an --custom-chars=\"!@#\" cert.p12\n```\n\n### Benchmarks\n\nSee [BENCHMARKS.md](BENCHMARKS.md) for more information.\n\n### License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwowinter13%2Fpkcs12cracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwowinter13%2Fpkcs12cracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwowinter13%2Fpkcs12cracker/lists"}