{"id":14638098,"url":"https://github.com/asaotomo/ZipCracker","last_synced_at":"2025-09-07T06:32:20.337Z","repository":{"id":184692424,"uuid":"672322471","full_name":"asaotomo/ZipCracker","owner":"asaotomo","description":"ZipCracker是Hx0战队出品的一款功能强大的Zip密码破解工具。它集成了字典攻击、掩码攻击和CRC32碰撞等多种破解模式，并能自动修复伪加密文件。凭借其高性能与多功能的特点，ZipCracker已成为CTF比赛中的一把利器。（ZipCracker by Hx0 team is a tool for cracking passwords on Zip files, great for CTF competitions.）","archived":false,"fork":false,"pushed_at":"2025-08-21T09:21:34.000Z","size":176,"stargazers_count":650,"open_issues_count":10,"forks_count":83,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-08-21T11:44:01.871Z","etag":null,"topics":["brute-force-attack","crc32","ctf","dictionary-attack","security-tools","zip-file-cracking"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asaotomo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2023-07-29T17:16:00.000Z","updated_at":"2025-08-21T09:21:38.000Z","dependencies_parsed_at":"2023-07-29T19:02:02.194Z","dependency_job_id":"7a1f94fe-d183-423a-8f44-e388eb1c2892","html_url":"https://github.com/asaotomo/ZipCracker","commit_stats":null,"previous_names":["asaotomo/zipcracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asaotomo/ZipCracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaotomo%2FZipCracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaotomo%2FZipCracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaotomo%2FZipCracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaotomo%2FZipCracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asaotomo","download_url":"https://codeload.github.com/asaotomo/ZipCracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asaotomo%2FZipCracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274005341,"owners_count":25205934,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brute-force-attack","crc32","ctf","dictionary-attack","security-tools","zip-file-cracking"],"created_at":"2024-09-10T02:01:42.874Z","updated_at":"2025-09-07T06:32:20.316Z","avatar_url":"https://github.com/asaotomo.png","language":"Python","readme":"### 工具简介\n\n---\n\n[English](./README_EN.md)\n\n***ZipCracker是一款由Hx0战队开发的高性能多并发破解工具，专为破解密码保护的Zip文件而设计。它采用CRC32碰撞、字典攻击及掩码攻击等方式猜测Zip文件的明文或密码，并能成功提取其中的内容。这款工具具备识别\"伪加密\"Zip文件的能力，并能自动进行修复。因此，它非常适合在CTF比赛中使用。***\n\n\u003cimg width=\"1510\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c698572c-2ea5-4f22-820d-5cf512eb70ec\" /\u003e\n\n\nPS：\n\n1.程序会自动检查加密压缩包中的文件大小。对于小于6字节的文件，系统将提示用户是否希望通过CRC32哈希碰撞来尝试破解。\n\n2.程序内置了6,000个常用密码词典，并自动生成0至6位纯数字的密码列表。此外，用户还可以使用自己的定制字典，即使该字典包含数亿条目的大字典，程序也能高效处理。\n\n3.程序能够根据运行环境自动调整最优线程数量，确保破解过程既快速又稳定。\n\n### 使用方法\n\n---\n\n#### 1.伪加密识别及修复\n```\npython3 ZipCracker.py test01.zip\n```\n\u003cimg width=\"800\" alt=\"image\" src=\"https://github.com/asaotomo/ZipCracker/assets/67818638/88fd42b5-7b89-452d-a640-77326dc05b4c\"\u003e\n\n#### 2.暴力破解-内置字典\n```\npython3 ZipCracker.py test02.zip\n```\n\u003cimg width=\"800\" alt=\"image\" src=\"https://github.com/asaotomo/ZipCracker/assets/67818638/bcfdc434-3eb2-426f-8f83-7951c9af4b59\"\u003e\n\n#### 3.暴力破解-用户自定义字典\n```\npython3 ZipCracker.py test02.zip MyDict.txt\n```\n\u003cimg width=\"800\" alt=\"image\" src=\"https://github.com/asaotomo/ZipCracker/assets/67818638/c11fd091-b4a5-4b5f-ab39-8489604cf57d\"\u003e\n\n#### 4.暴力破解-CRC32碰撞\n```\npython3 ZipCracker.py test03.zip\n```\n\u003cimg width=\"800\" alt=\"image\" src=\"https://github.com/asaotomo/ZipCracker/assets/67818638/db48ca5c-3c24-44a6-8a79-0398b1b56222\"\u003e\n\n#### 5.暴力破解-掩码攻击\n\n当您已知密码的部分结构时（例如，公司名+年份），掩码攻击是最高效的破解方式。您可以使用特殊占位符来定义密码的格式，从而极大地缩小密码搜索范围。\n\n掩码占位符规则:\n\n| 占位符 | 代表的字符集 |\n| :--- | :----------- |\n| `?d` | 数字 (0-9) |\n| `?l` | 小写字母 (a-z) |\n| `?u` | 大写字母 (A-Z) |\n| `?s` | 特殊符号 (!@#$等) |\n| `??` | 问号 `?` 自身 |\n\n```\npython3 ZipCracker.py test04.zip -m '?uali?s?d?d?d'\n```\n\n上述命令会尝试破解密码结构为: 一个大写字母 + 'ali' + 一个特殊符号 + 三个数字 (例如 Kali@123,  Bali#756 等) 的ZIP文件。\n\n\u003cimg width=\"818\" height=\"266\" alt=\"image\" src=\"https://github.com/user-attachments/assets/37abb6a2-6ba7-4fed-937b-e62ceab6e378\" /\u003e\n\n\n---\n\n**本工具仅提供给安全测试人员进行安全自查使用**，**用户滥用造成的一切后果与作者无关**，**使用者请务必遵守当地法律** **本程序不得用于商业用途，仅限学习交流。**\n\n---\n\n**扫描关注战队公众号，获取最新动态**\n\n\u003cimg width=\"318\" alt=\"image\" src=\"https://user-images.githubusercontent.com/67818638/149507366-4ada14db-a972-4071-bbb6-197659f61ced.png\"\u003e\n\n**【知识星球】福利大放送**\n\n\u003cimg width=\"318\" alt=\"image\" src=\"https://github.com/user-attachments/assets/94849d79-bcac-4a43-9221-3e2718225cb6\"\u003e\n\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasaotomo%2FZipCracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasaotomo%2FZipCracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasaotomo%2FZipCracker/lists"}