x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/post-exploitation/tools/linux-exploit-suggester.md
View on GitHub# linux-exploit-suggester
- **Category**: Post-Exploitation / Linux Privilege Escalation
- **Risk Level**: 🟡 Medium
---
## 描述
linux-exploit-suggester(LES)是 Linux 权限提升审计工具。它评估内核和 Linux 系统对公开已知本地权限提升漏洞的暴露情况,也可检查内核加固设置。Agent 工作流中,应在收集 `uname -a`、发行版、架构和内核配置证据后,将它作为建议性分流工具使用;每个推荐的利用代码在使用前仍需手工验证。
## 安装
```bash
sudo apt update
sudo apt install linux-exploit-suggester
# Kali 将工具存放在此目录
cd /usr/share/linux-exploit-suggester
./Linux_Exploit_Suggester.pl -h
```
## 参数说明
| 参数 | 说明 |
|-------------|------|
| `./Linux_Exploit_Suggester.pl -k <kernel>` | 在 Kali 打包的 Perl 版本中,搜索匹配指定内核版本的 exploits |
| `linux-exploit-suggester -h` | Kali wrapper;Kali 页面说明工具位于 `/usr/share/linux-exploit-suggester` |
| `./linux-exploit-suggester.sh` | 使用上游 shell 版本检查当前 Linux 系统 |
| `./linux-exploit-suggester.sh --checksec` | 使用上游 shell 版本检查内核加固安全设置 |
| `./linux-exploit-suggester.sh --uname <uname-string>` | 使用上游 shell 版本根据给定 `uname -a` 字符串评估暴露情况 |
## 常用命令
```bash
# Kali 打包示例:按内核版本搜索
cd /usr/share/linux-exploit-suggester
./Linux_Exploit_Suggester.pl -k 3.0.0
# 使用后渗透阶段采集到的当前目标内核字符串
uname -a
cd /usr/share/linux-exploit-suggester
./Linux_Exploit_Suggester.pl -k "$(uname -r)" | tee /tmp/linux-exploit-suggester.txt
# 上游 shell 版本:在当前 Linux 系统上运行
./linux-exploit-suggester.sh | tee /tmp/les.txt
# 上游 shell 版本:检查内核加固设置
./linux-exploit-suggester.sh --checksec | tee /tmp/les-checksec.txt
# 上游 shell 版本:不在目标上运行,仅评估采集到的 uname 字符串
./linux-exploit-suggester.sh --uname "Linux target 4.4.0-89-generic #112-Ubuntu SMP x86_64 GNU/Linux"
```
## 注意事项
1. 将 LES 输出视为候选线索,而不是已确认漏洞。
2. 在处理任何建议前,记录准确的内核版本、发行版版本、架构和缓解措施状态。
3. 在尝试内核利用代码前,优先检查包管理器安全更新、缺失的 sudo/SUID 错误配置和应用层提权路径。
4. 除非目标环境明确授权且已验证适配,否则不要编译或运行推荐的利用代码。
5. Kali 软件包与上游 shell 项目暴露的入口不同;编写脚本前应检查 `-h` 和已安装文件。
---
## 官方参考
- [linux-exploit-suggester GitHub](https://github.com/The-Z-Labs/linux-exploit-suggester)
- [Kali linux-exploit-suggester](https://www.kali.org/tools/linux-exploit-suggester/)
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 |