x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/password/tools/fcrackzip.md
View on GitHub# fcrackzip
- **Category**: Password Attacks / Archive Password Cracking
- **Risk Level**: 🟢 Low
---
## 描述
fcrackzip 是一款快速的 ZIP 压缩包密码破解工具,支持字典攻击和可配置字符集与长度范围的暴力破解模式。它通过 unzip 验证候选密码(始终使用 `-u` 以避免误报)。对于 RAR、7z 和 PDF 压缩包,请改用 `john` 或 `hashcat`——fcrackzip 仅处理 ZIP 格式。
## 安装
```bash
sudo apt install fcrackzip
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `-u` | 使用 unzip 验证正确密码(必须使用——防止误报) |
| `-D` | 字典模式 |
| `-p <wordlist>` | 字典文件(配合 `-D` 使用) |
| `-b` | 暴力破解模式 |
| `-c <charset>` | 暴力破解字符集:`a`(小写字母)、`A`(大写字母)、`1`(数字)、`!`(特殊字符) |
| `-l <min-max>` | 暴力破解的长度范围(例如 `1-8`) |
| `-v` | 详细输出 |
## 常用命令
```bash
# 使用 rockyou.txt 进行字典攻击(始终使用 -u 进行 unzip 验证)
fcrackzip -u -D -p /usr/share/wordlists/rockyou.txt archive.zip
# 暴力破解:小写字母,长度 1-8
fcrackzip -u -b -c a -l 1-8 archive.zip
# 暴力破解:小写字母 + 数字,长度 4-6
fcrackzip -u -b -c a1 -l 4-6 archive.zip
# 暴力破解:所有可打印字符
fcrackzip -u -b -c aA1! -l 1-6 archive.zip
# 其他格式压缩包:先转换哈希,再用 john/hashcat 破解
# RAR: rar2john archive.rar > hash.txt && hashcat -m 13000 hash.txt rockyou.txt
# 7z: 7z2john archive.7z > hash.txt && hashcat -m 11600 hash.txt rockyou.txt
# PDF: pdf2john file.pdf > hash.txt && hashcat -m 10700 hash.txt rockyou.txt
```
## 注意事项
1. 始终使用 `-u`——不加 unzip 验证时,fcrackzip 会产生大量误报。
2. 在 CTF 和渗透测试场景中,优先尝试 rockyou.txt 字典攻击,再考虑暴力破解。
3. 对于 RAR、7z 和 PDF 密码,请改用 `john --format=...` 或 `hashcat`——fcrackzip 仅支持 ZIP 格式。
4. `hashcat -m 17200`(PKZIP 压缩格式)或 `-m 17210`(PKZIP 未压缩格式)也可通过 GPU 加速破解 ZIP 密码。
5. 超长或复杂密码在计算上不可行——优先专注于字典攻击。
---
## 官方参考
- [fcrackzip man page](https://manpages.debian.org/fcrackzip)
- [Kali fcrackzip](https://www.kali.org/tools/fcrackzip/)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |