x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/reverse-engineering/tools/radare2.md
View on GitHub# Radare2
- **Category**: Reverse Engineering / Binary Analysis
- **Risk Level**: 🟡 Medium
---
## 描述
二进制分析框架。本工具中仅以非交互单次执行模式使用 radare2,用于函数发现、导入符号、字符串和局部反汇编片段等目标明确的问题。
## 安装
```bash
apt-get update && apt-get install -y radare2
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `-q` | 静默模式 |
| `-c <cmd>` | 执行 radare 命令后退出 |
| `aaa` | 分析所有内容 |
| `afl` | 列出函数 |
| `izz` | 列出字符串 |
| `ii` | 列出导入符号 |
| `pdf @ <func>` | 打印指定函数的反汇编 |
| `-A` | 加载时运行 'aaa' 命令分析所有引用代码 |
## 常用命令
```bash
# 不打开交互 shell,列出函数
r2 -q -c "aaa; afl" /usr/bin/target
# 列出导入项和字符串
r2 -q -c "aaa; ii; izz" /usr/bin/target
# 仅反汇编 main
r2 -q -c "aaa; pdf @ main" /usr/bin/target
```
## 注意事项
1. 在 Agent 工作流中不要使用长时间交互式 `r2` 会话。
2. 先用 `rabin2` 做快速元数据提取;仅在需要针对性反汇编时才使用 `radare2`。
3. 将结果作为分析线索,并用运行时或配置证据确认可利用性。
---
## 官方参考
- [radare2 Book](https://book.rada.re/)
- [radare2 GitHub](https://github.com/radareorg/radare2)
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 |