x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/exploitation/tools/getsploit.md
View on GitHub# getsploit
- **Category**: Exploitation / Exploit Search
- **Risk Level**: 🟢 Low
---
## 描述
通过 Vulners.com API 跨多个数据库搜索漏洞利用代码,涵盖 Exploit-DB、Metasploit 模块和 Packet Storm。可直接下载利用代码。提供替代手动搜索漏洞数据库的 CLI 工具。使用 Python 编写。
## 安装
```bash
sudo apt update
sudo apt install getsploit
getsploit -h
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `<query>` | 搜索查询(位置参数,例如软件名称和版本) |
| `-j, --json` | 以 JSON 格式输出结果 |
| `-m, --mirror` | 镜像模式:下载所有匹配的利用源文件 |
| `-c, --count <n>` | 返回的最大结果数 |
| `-l, --local` | 搜索本地镜像数据库(离线模式) |
| `-u, --update` | 更新本地利用镜像数据库 |
| `-k, --api-key <key>` | 使用指定的 Vulners API 密钥 |
| `-s, --set-key <key>` | 保存 API 密钥供后续使用 |
## 常用命令
```bash
# 按软件名称和版本搜索利用代码
getsploit apache 2.4.49
# 搜索特定 CVE
getsploit CVE-2021-44228
# 限制结果数量
getsploit -c 10 openssh
# 下载所有匹配的利用文件
getsploit -m "ProFTPD 1.3.5"
# 以 JSON 格式输出结果用于解析
getsploit -j wordpress 5.8 | jq '.data[]'
# 更新本地镜像数据库
getsploit -u
# 使用本地镜像离线搜索
getsploit -l "Linux kernel 5.4"
# 设置 API 密钥用于认证查询
getsploit -s YOUR_API_KEY
```
## 注意事项
1. 需要联网访问 Vulners.com API;使用 `-u` 和 `-m` 构建本地镜像,然后使用 `-l` 进行离线搜索。
2. 结果聚合多个来源(Exploit-DB、Metasploit、Packet Storm),单次查询即可覆盖。
3. 执行前务必审查下载的利用代码;检查是否存在后门或意外行为。
4. 配合 `searchsploit` 对照本地 Exploit-DB 副本交叉验证。
5. JSON 输出(`-j`)适用于脚本化流水线和自动化报告。
---
## 官方参考
- [getsploit GitHub](https://github.com/vulnersCom/getsploit)
- [Kali getsploit](https://www.kali.org/tools/getsploit/)
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 |