Skip to content

x-glacier/kali-pentest / kali-pentest-zh

kali-pentest-zh

Flagged

通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。

FileKindSize
SKILL.mdskill md15.6 KB
references/cloud-native/README.mdmarkdown4.2 KB
references/cloud-native/tools/azurehound.mdmarkdown4.0 KB
references/cloud-native/tools/docker-bench-security.mdmarkdown1.9 KB
references/cloud-native/tools/kube-bench.mdmarkdown1.7 KB
references/cloud-native/tools/kubescape.mdmarkdown1.7 KB
references/cloud-native/tools/pacu.mdmarkdown3.0 KB
references/cloud-native/tools/peirates.mdmarkdown6.4 KB
references/cloud-native/tools/prowler.mdmarkdown1.5 KB
references/cloud-native/tools/scoutsuite.mdmarkdown1.2 KB
references/environment/README.mdmarkdown1.4 KB
references/environment/docker-mode-networking.mdmarkdown2.2 KB
references/environment/docker-mode-persistent-container.mdmarkdown3.8 KB
references/environment/docker-mode.mdmarkdown2.0 KB
references/environment/local-mode.mdmarkdown946 B
references/environment/server-mode.mdmarkdown4.1 KB
references/environment/state-files.mdmarkdown2.3 KB
references/exploitation/README.mdmarkdown9.6 KB
references/exploitation/tools/chisel.mdmarkdown3.2 KB
references/exploitation/tools/coercer.mdmarkdown2.5 KB
references/exploitation/tools/dns2tcp.mdmarkdown3.8 KB
references/exploitation/tools/evil-winrm.mdmarkdown2.9 KB
references/exploitation/tools/evilginx2.mdmarkdown2.2 KB
references/exploitation/tools/getsploit.mdmarkdown2.0 KB
references/exploitation/tools/gophish.mdmarkdown6.1 KB
references/exploitation/tools/impacket.mdmarkdown10.9 KB
references/exploitation/tools/iodine.mdmarkdown3.5 KB
references/exploitation/tools/ligolo-ng.mdmarkdown3.3 KB
references/exploitation/tools/metasploit.mdmarkdown11.0 KB
references/exploitation/tools/mitm6.mdmarkdown2.6 KB
references/exploitation/tools/msfconsole.mdmarkdown3.9 KB
references/exploitation/tools/msfvenom.mdmarkdown8.5 KB
references/exploitation/tools/mssqlpwner.mdmarkdown2.5 KB
references/exploitation/tools/netcat.mdmarkdown4.4 KB
references/exploitation/tools/odat.mdmarkdown3.0 KB
references/exploitation/tools/proxytunnel.mdmarkdown2.2 KB
references/exploitation/tools/routersploit.mdmarkdown2.9 KB
references/exploitation/tools/searchsploit.mdmarkdown4.7 KB
references/exploitation/tools/setoolkit.mdmarkdown1015 B
references/exploitation/tools/smbclient.mdmarkdown2.8 KB
references/exploitation/tools/socat.mdmarkdown2.8 KB
references/exploitation/tools/veil.mdmarkdown2.9 KB
references/forensics/README.mdmarkdown8.8 KB
references/forensics/tools/bulk-extractor.mdmarkdown4.5 KB
references/forensics/tools/chainsaw.mdmarkdown2.6 KB
references/forensics/tools/chkrootkit.mdmarkdown2.6 KB
references/forensics/tools/dc3dd.mdmarkdown2.9 KB
references/forensics/tools/dcfldd.mdmarkdown3.2 KB
references/forensics/tools/ddrescue.mdmarkdown3.6 KB
references/forensics/tools/exiftool.mdmarkdown2.5 KB
references/forensics/tools/foremost.mdmarkdown2.4 KB
references/forensics/tools/hashdeep.mdmarkdown3.5 KB
references/forensics/tools/plaso.mdmarkdown3.7 KB
references/forensics/tools/regripper.mdmarkdown3.4 KB
references/forensics/tools/rkhunter.mdmarkdown3.4 KB
references/forensics/tools/scalpel.mdmarkdown2.6 KB
references/forensics/tools/sleuthkit.mdmarkdown4.0 KB
references/forensics/tools/ssdeep.mdmarkdown3.1 KB
references/forensics/tools/steghide.mdmarkdown2.8 KB
references/forensics/tools/stegseek.mdmarkdown2.5 KB
references/forensics/tools/tcpdump.mdmarkdown2.8 KB
references/forensics/tools/tcpflow.mdmarkdown3.4 KB
references/forensics/tools/testdisk.mdmarkdown3.0 KB
references/forensics/tools/tshark.mdmarkdown3.0 KB
references/forensics/tools/volatility.mdmarkdown5.0 KB
references/forensics/tools/yara.mdmarkdown3.3 KB
references/information-gathering/README.mdmarkdown15.6 KB
references/information-gathering/tools/altdns.mdmarkdown1.9 KB
references/information-gathering/tools/amass.mdmarkdown9.1 KB
references/information-gathering/tools/arp-scan.mdmarkdown1.9 KB
references/information-gathering/tools/assetfinder.mdmarkdown1.9 KB
references/information-gathering/tools/autorecon.mdmarkdown2.9 KB
references/information-gathering/tools/certgraph.mdmarkdown3.3 KB
references/information-gathering/tools/cloud-enum.mdmarkdown2.1 KB
references/information-gathering/tools/cloudbrute.mdmarkdown2.1 KB
references/information-gathering/tools/dig.mdmarkdown2.3 KB
references/information-gathering/tools/dmitry.mdmarkdown2.0 KB
references/information-gathering/tools/dnsenum.mdmarkdown1.7 KB
references/information-gathering/tools/dnsgen.mdmarkdown1.5 KB
references/information-gathering/tools/dnsmap.mdmarkdown1.8 KB
references/information-gathering/tools/dnsrecon.mdmarkdown2.7 KB
references/information-gathering/tools/dnstwist.mdmarkdown3.0 KB
references/information-gathering/tools/dnsx.mdmarkdown2.8 KB
references/information-gathering/tools/eyewitness.mdmarkdown2.4 KB
references/information-gathering/tools/fierce.mdmarkdown2.5 KB
references/information-gathering/tools/finalrecon.mdmarkdown2.4 KB
references/information-gathering/tools/findomain.mdmarkdown2.5 KB
references/information-gathering/tools/fping.mdmarkdown2.3 KB
references/information-gathering/tools/getallurls.mdmarkdown2.4 KB
references/information-gathering/tools/gowitness.mdmarkdown4.8 KB
references/information-gathering/tools/h8mail.mdmarkdown3.9 KB
references/information-gathering/tools/hakrawler.mdmarkdown2.3 KB
references/information-gathering/tools/hosthunter.mdmarkdown2.6 KB
references/information-gathering/tools/httprobe.mdmarkdown2.1 KB
references/information-gathering/tools/httpx.mdmarkdown4.6 KB
references/information-gathering/tools/ldeep.mdmarkdown4.9 KB
references/information-gathering/tools/masscan.mdmarkdown3.8 KB
references/information-gathering/tools/massdns.mdmarkdown1.9 KB
references/information-gathering/tools/metagoofil.mdmarkdown3.0 KB
references/information-gathering/tools/naabu.mdmarkdown2.7 KB
references/information-gathering/tools/nbtscan.mdmarkdown2.2 KB
references/information-gathering/tools/netdiscover.mdmarkdown2.6 KB
references/information-gathering/tools/nmap.mdmarkdown8.4 KB
references/information-gathering/tools/p0f.mdmarkdown2.1 KB
references/information-gathering/tools/recon-ng.mdmarkdown6.6 KB
references/information-gathering/tools/sherlock.mdmarkdown3.7 KB
references/information-gathering/tools/shodan.mdmarkdown3.6 KB
references/information-gathering/tools/spiderfoot.mdmarkdown2.7 KB
references/information-gathering/tools/subfinder.mdmarkdown2.5 KB
references/information-gathering/tools/sublist3r.mdmarkdown1.9 KB
references/information-gathering/tools/theHarvester.mdmarkdown2.9 KB
references/information-gathering/tools/trufflehog.mdmarkdown3.1 KB
references/information-gathering/tools/wafw00f.mdmarkdown1.9 KB
references/information-gathering/tools/whatweb.mdmarkdown5.1 KB
references/information-gathering/tools/whois.mdmarkdown2.0 KB
references/password/README.mdmarkdown11.8 KB
references/password/tools/brutespray.mdmarkdown2.8 KB
references/password/tools/cewl.mdmarkdown2.1 KB
references/password/tools/changeme.mdmarkdown3.0 KB
references/password/tools/chntpw.mdmarkdown2.5 KB
references/password/tools/crowbar.mdmarkdown2.6 KB
references/password/tools/crunch.mdmarkdown2.7 KB
references/password/tools/fcrackzip.mdmarkdown2.3 KB
references/password/tools/gpp-decrypt.mdmarkdown2.6 KB
references/password/tools/hashcat.mdmarkdown4.6 KB
references/password/tools/hashid.mdmarkdown2.1 KB
references/password/tools/hydra.mdmarkdown4.4 KB
references/password/tools/john.mdmarkdown3.2 KB
references/password/tools/kerbrute.mdmarkdown2.8 KB
references/password/tools/medusa.mdmarkdown3.3 KB
references/password/tools/name-that-hash.mdmarkdown3.2 KB
references/password/tools/ncrack.mdmarkdown3.3 KB
references/password/tools/netexec.mdmarkdown3.2 KB
references/password/tools/patator.mdmarkdown2.2 KB
references/password/tools/pdfcrack.mdmarkdown2.9 KB
references/password/tools/rainbowcrack.mdmarkdown2.9 KB
references/password/tools/responder.mdmarkdown2.7 KB
references/playbooks/README.mdmarkdown8.1 KB
references/playbooks/active-directory.mdmarkdown14.0 KB
references/playbooks/api-security.mdmarkdown18.6 KB
references/playbooks/cloud-native-assessment.mdmarkdown17.6 KB
references/playbooks/external-attack-surface.mdmarkdown8.1 KB
references/playbooks/forensics-triage.mdmarkdown11.7 KB
references/playbooks/internal-network-protocols.mdmarkdown6.5 KB
references/playbooks/internal-network.mdmarkdown14.4 KB
references/playbooks/mobile-application.mdmarkdown9.8 KB
references/playbooks/password-audit.mdmarkdown9.0 KB
references/playbooks/post-exploitation.mdmarkdown11.4 KB
references/playbooks/reporting-workflow.mdmarkdown6.3 KB
references/playbooks/rfid-nfc.mdmarkdown7.2 KB
references/playbooks/source-code-audit.mdmarkdown8.4 KB
references/playbooks/voip-ics.mdmarkdown17.3 KB
references/playbooks/web-application.mdmarkdown14.7 KB
references/playbooks/wireless-assessment.mdmarkdown9.6 KB
references/post-exploitation/README.mdmarkdown11.0 KB
references/post-exploitation/tools/bloodhound.mdmarkdown4.8 KB
references/post-exploitation/tools/bloodhound.py.mdmarkdown4.0 KB
references/post-exploitation/tools/bloodyad.mdmarkdown4.1 KB
references/post-exploitation/tools/certipy-ad.mdmarkdown3.2 KB
references/post-exploitation/tools/dnscat2.mdmarkdown3.5 KB
references/post-exploitation/tools/dploot.mdmarkdown4.2 KB
references/post-exploitation/tools/havoc.mdmarkdown3.8 KB
references/post-exploitation/tools/hekatomb.mdmarkdown3.0 KB
references/post-exploitation/tools/krbrelayx.mdmarkdown7.3 KB
references/post-exploitation/tools/lapsdumper.mdmarkdown2.4 KB
references/post-exploitation/tools/linpeas.mdmarkdown3.6 KB
references/post-exploitation/tools/linux-exploit-suggester.mdmarkdown2.8 KB
references/post-exploitation/tools/lsassy.mdmarkdown2.8 KB
references/post-exploitation/tools/mimikatz.mdmarkdown4.2 KB
references/post-exploitation/tools/powershell-empire.mdmarkdown4.0 KB
references/post-exploitation/tools/powersploit.mdmarkdown5.5 KB
references/post-exploitation/tools/proxychains.mdmarkdown2.1 KB
references/post-exploitation/tools/pspy.mdmarkdown2.8 KB
references/post-exploitation/tools/pwncat.mdmarkdown6.4 KB
references/post-exploitation/tools/sliver.mdmarkdown1.4 KB
references/post-exploitation/tools/sshuttle.mdmarkdown3.2 KB
references/post-exploitation/tools/winpeas.mdmarkdown3.0 KB
references/reporting/README.mdmarkdown2.5 KB
references/reporting/tools/pandoc.mdmarkdown3.2 KB
references/reporting/tools/report-template.mdmarkdown8.5 KB
references/reverse-engineering/README.mdmarkdown5.6 KB
references/reverse-engineering/tools/apktool.mdmarkdown1.8 KB
references/reverse-engineering/tools/binwalk.mdmarkdown3.0 KB
references/reverse-engineering/tools/checksec.mdmarkdown3.5 KB
references/reverse-engineering/tools/dex2jar.mdmarkdown3.2 KB
references/reverse-engineering/tools/frida.mdmarkdown2.4 KB
references/reverse-engineering/tools/ghidra-headless.mdmarkdown3.0 KB
references/reverse-engineering/tools/jadx.mdmarkdown2.2 KB
references/reverse-engineering/tools/ldd.mdmarkdown1.9 KB
references/reverse-engineering/tools/nm.mdmarkdown2.3 KB
references/reverse-engineering/tools/objdump.mdmarkdown2.5 KB
references/reverse-engineering/tools/objection.mdmarkdown3.0 KB
references/reverse-engineering/tools/rabin2.mdmarkdown2.3 KB
references/reverse-engineering/tools/radare2.mdmarkdown1.3 KB
references/reverse-engineering/tools/readelf.mdmarkdown2.3 KB
references/reverse-engineering/tools/ropper.mdmarkdown4.1 KB
references/reverse-engineering/tools/strings.mdmarkdown2.3 KB
references/reverse-engineering/tools/xxd.mdmarkdown2.3 KB
references/rfid-nfc/README.mdmarkdown2.7 KB
references/rfid-nfc/tools/libnfc.mdmarkdown2.2 KB

references/exploitation/README.md

View on GitHub
# 漏洞利用(Exploitation)

漏洞利用阶段在确认漏洞后,尝试获取目标系统的访问权限。**所有利用操作必须在明确书面授权范围内执行。**

---

## Golden Path

| 场景 | 首选工具链 | 何时不用 |
|------|----------|---------|
| 漏洞搜索 | `searchsploit` | 在线搜索用 NVD / vulners API |
| payload 生成 | `msfvenom` | PE 级注入绕过 AV 用 Shellter |
| 全功能利用 | `metasploit` (`msfconsole`) | 轻量级单一 exploit 用独立 PoC 脚本 |
| Windows 远程执行 | `impacket` (psexec/wmiexec/smbexec) | WinRM 可用时用 `evil-winrm` |
| 隧道/端口转发 | `chisel`(HTTP 隧道)或 `ligolo-ng`(L3 透明路由) | 简单转发用 `socat` |
| HTTP CONNECT 隧道 | `proxytunnel` | SOCKS 或更广泛的跳板转发用 `chisel` |
| 反向 Shell | `netcat` / `ncat` | 需要加密通道时用 `socat` SSL |
| AD NTLM 中继 | `mitm6` + `ntlmrelayx`(impacket) | — |
| AD 强制认证 | `coercer` | — |
| MFA 钓鱼 | `evilginx2` | — |
| 社工工具集 | `setoolkit --text` | 需要明确社会工程学授权 |
| 物联网/嵌入式利用 | `routersploit` | — |
| DNS 隧道数据渗出 | `iodine` | 更复杂的 C2 场景用 `dnscat2` |

---

## 漏洞利用框架

**[msfconsole](tools/msfconsole.md)** — Metasploit Framework 交互式控制台
Metasploit Framework 的主要 CLI 接口。提供模块浏览、exploit 执行、会话管理、数据库支持的主机/服务跟踪,以及通过资源脚本实现自动化。

**[metasploit](tools/metasploit.md)** — 综合漏洞利用框架  
世界最广泛使用的渗透测试框架,含 2000+ 漏洞利用模块、500+ 辅助模块、300+ 后渗透模块。涵盖从漏洞利用到后渗透的完整攻击链,是渗透测试的核心平台。  

**[msfvenom](tools/msfvenom.md)** — payload 生成器  
Metasploit 的 payload 生成工具,可生成各种格式的反弹 Shell(EXE/ELF/PHP/WAR/Python等),支持多种编码器绕过防病毒检测。  

**[searchsploit](tools/searchsploit.md)** — Exploit-DB 本地搜索  
离线搜索 Exploit-DB 漏洞利用数据库,无需联网即可查找针对特定软件版本的 exploit,可直接复制到当前目录使用。  

**[getsploit](tools/getsploit.md)** — 漏洞利用搜索
通过 Vulners API 搜索 Exploit-DB、Metasploit 和 Packet Storm 漏洞利用。

---

## Windows 攻击套件

**[impacket](tools/impacket.md)** — Windows 协议利用工具集  
Python 实现的 Windows 网络协议工具套件,包含 secretsdump(哈希转储)、psexec(远程执行)、wmiexec、smbexec、GetUserSPNs(Kerberoasting)等子工具,是 Windows 内网渗透的核心工具集。  

**[evil-winrm](tools/evil-winrm.md)** — WinRM 远程 Shell  
通过 WinRM 协议(5985/5986)获取 Windows 交互式 PowerShell,支持文件传输、PTH 攻击、PowerShell 模块加载。适合在域环境中横向移动。  

**[smbclient](tools/smbclient.md)** — SMB 文件共享访问
访问和操作 SMB 共享目录,支持匿名/认证访问、文件上传下载和 pass-the-hash 攻击。在使用 smbmap 发现可访问共享后使用。

---

## 隧道与端口转发

**[chisel](tools/chisel.md)** — HTTP 隧道穿透  
基于 HTTP 的 TCP/UDP 隧道,用于内网穿透,支持反向 SOCKS5 代理,流量伪装为 HTTP,适合在防火墙限制下建立通信通道。  

**[ligolo-ng](tools/ligolo-ng.md)** — Layer-3 网络跳板转发  
在 Kali 上创建 TUN 接口,通过跳板主机实现对内网的透明 Layer-3 路由。与 proxychains 不同,所有工具无需代理化即可原生使用——目前社区最推荐的跳板转发方案。  

**[socat](tools/socat.md) / [netcat](tools/netcat.md)** — 网络瑞士军刀  
通用网络工具,用于建立反弹 Shell 监听、端口转发、文件传输等,是渗透测试中最基础的连接工具。  

**[socat](tools/socat.md)** — 高级网络中继与 Shell 升级工具  
netcat 的增强版继承者,支持 TCP、UDP、TLS 加密套接字和 PTY 伪终端。最适合将基础 Shell 升级为完全交互式 TTY、创建加密 C2 通道,以及通过跳板进行端口转发。  

**[proxytunnel](tools/proxytunnel.md)** — HTTP CONNECT 隧道
通过 HTTP/HTTPS CONNECT 代理创建点对点 TCP 隧道。当代理出口已授权且需要通过该路径访问单个目标服务时使用。

**[iodine](tools/iodine.md)** — DNS 隧道  
通过 DNS 查询建立 IP-over-DNS 隧道,在仅允许 DNS 出口的严格防火墙环境中传输 TCP/IP 流量。需要一个可控域名和 NS 记录配置。比 `dnscat2` 吞吐量更高,但功能更简单——适合数据渗出和基础连接场景。  

**[dns2tcp](tools/dns2tcp.md)** — DNS 隧道工具  
DNS 隧道工具;将 TCP 流量封装在 DNS 查询中。  

获得访问后的代理、DNS 隧道和 C2/对手仿真工作流,读取 `../post-exploitation/README.md`。

---

## Active Directory 攻击

**[mitm6](tools/mitm6.md)** — IPv6 DHCPv6 投毒与 NTLM 中继  
利用 Windows 默认优先使用 IPv6 的特性,将自身伪装成流氓 DNS 服务器,将 NTLM 认证重定向到中继监听器。无需凭据即可使用的最可靠 AD 初始访问技术之一。  

**[coercer](tools/coercer.md)** — 基于 RPC 的 NTLM 强制认证  
使用 20 余种 MS-RPC 强制认证方法(PetitPotam、PrinterBug 等)迫使 Windows 主机向攻击者控制的服务器发起认证。NTLM 中继攻击的标准准备步骤。  

---

## 钓鱼与免杀

**[evilginx2](tools/evilginx2.md)** — MFA 绕过钓鱼框架  
一款对手居中(AitM)钓鱼代理,在捕获凭据的同时获取会话 Cookie,从而绕过多因素认证。支持 Microsoft 365、Google、GitHub 等平台的 phishlets。  

**[setoolkit](tools/setoolkit.md)** — 文本模式社工工具集
以文本模式提供网络钓鱼、凭据收集和 payload 生成工作流。需要明确批准目标、诱饵、凭据处理和通知方式。

**[gophish](tools/gophish.md)** — 钓鱼攻击框架  
钓鱼攻击框架,提供 REST API 实现自动化。  

**[veil](tools/veil.md)** — 免杀 payload 生成框架
具有免杀能力的 payload 生成框架。

---

## 数据库利用

**[mssqlpwner](tools/mssqlpwner.md)** — MSSQL 权限提升和利用
通过链接服务器链实现 MSSQL 权限提升和利用。

**[odat](tools/odat.md)** — Oracle 数据库攻击工具
Oracle 数据库攻击工具,SID 枚举、凭据爆破和命令执行。

---

## 物联网与嵌入式设备利用

**[routersploit](tools/routersploit.md)** — 嵌入式设备漏洞利用框架  
类似 Metasploit 的嵌入式设备专用利用框架,包含路由器、摄像头、NAS 和 IoT 设备的漏洞利用模块、默认凭据检查和扫描模块。支持通过交互式控制台选择目标和模块,是物联网渗透测试的核心工具。  

---

## 决策树

当 Golden Path 不适用时选择替代方式。按顺序评估路径——使用第一个匹配的。

### 路径 1:已知 CVE 但无 Metasploit 模块

| 条件 | 动作 |
|------|------|
| 有公开 PoC | `searchsploit -m <id>`,审查并适配 |
| 无公开漏洞利用 | 手动分析或自行开发 PoC |

### 路径 2:Web 漏洞(无已知 CVE)

| 条件 | 动作 |
|------|------|
| SQL 注入 | `sqlmap --os-shell` / `--sql-shell` |
| 命令注入 | `commix --url=<target>` |
| SSTI | `sstimap` |
| 文件上传 | `msfvenom -p php/reverse_php`(或 WAR/JSP payload) |
| LFI / 路径遍历 | `ffuf` 配合遍历字典 |
| 不安全的反序列化 | `phpggc`(PHP)或 `ysoserial`(Java) |

### 路径 3:已获取有效凭据

| 目标 | 条件 | 动作 |
|------|------|------|
| Windows | WinRM 开放(5985/5986) | `evil-winrm -i <ip> -u <user> -p <pass>` |
| Windows | SMB 开放(445) | `impacket-psexec` / `wmiexec` / `smbexec` |
| Windows | NTLM 哈希(PTH) | `impacket-psexec -hashes :<hash> <user>@<ip>` |
| Windows | MSSQL 具有 SA/sysadmin 权限 (1433) | `impacket-mssqlclient` + `xp_cmdshell` 或 `mssqlpwner exec` |
| Windows | RDP 开放 (3389) | `xfreerdp /v:<ip> /u:<user> /p:<pass>` 或 `crowbar` 暴力破解 |
| Linux | SSH 开放(22) | `ssh <user>@<ip>` |
| 任意 | PostgreSQL 超级用户 (5432) | `psql` + `COPY TO PROGRAM` 或 UDF |
| 任意 | Oracle DBA (1521) | `odat exec`(参见 `tools/odat.md`) |
| 任意 | MySQL 具有 FILE 权限 (3306) | `mysql -h <ip> -u root -p` + `SELECT ... INTO OUTFILE` 写入 webshell |
| 任意 | Redis 可写 (6379) | `redis-cli -h <ip>` + `CONFIG SET dir` / `CONFIG SET dbfilename` 写入 webshell/crontab/SSH 密钥 |
| 任意 | VNC 开放 (5900) | `xtightvncviewer <ip>::5900` |
| 任意 | 无直接访问方式 | `hydra` / `medusa` 暴力破解其他服务 |

### 路径 4:隧道与跳板(获取 shell 后)

| 出口条件 | 工具 |
|----------|------|
| SSH 访问可用 | `ssh -D 1080`(SOCKS 代理)或 `ssh -L`/`-R`(端口转发) |
| SSH 访问可用,需要子网路由 | `sshuttle -r <user>@<pivot> <subnet>/24` |
| HTTP/HTTPS 可用 | `chisel` 反向 SOCKS 隧道 |
| 需要透明三层路由 | `ligolo-ng` TUN 接口 |
| 仅 DNS 出口 | `dnscat2`(加密 C2)、`iodine`(IP 隧道)或 `dns2tcp`(TCP over DNS) |
| HTTP CONNECT 代理可用 | `proxytunnel` |
| 简单单端口转发 | `socat` |

---

## 交叉引用

- **后渗透工作流**:`../playbooks/post-exploitation.md` -- 初始访问后的权限提升、凭据收集和横向移动。
- **内网跳板转发**:`../playbooks/internal-network.md` -- 多跳跳板转发、通过隧道扫描子网和域提权。
- **后渗透工具**:`../post-exploitation/README.md` -- proxychains、C2 框架、二进制分析。

---

## 官方参考

- [Kali Tools](https://www.kali.org/tools/all-tools/)
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall