pale-knight/redteam-skill / skills/tunnel
tunnel
VerifiedNetwork reachability and pivoting after an operator already has a foothold. Use to make previously unreachable hosts, subnets, services or listener directions reachable via Ligolo-ng, Chisel, GOST v3, SSH/native forwarding, socat/netsh, Microsoft Dev Tunnels, DNS/HTTP/QUIC fallback transports, and multi-hop routing. This module does not exploit services, obtain credentials, or own C2/persistence. Its success condition is changed reachability: the operator can route/connect to the intended internal network/service through the selected foothold.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.5 KB |
| references/SOURCES.md | markdown | 639 B |
| references/chisel-gost.md | markdown | 1.2 KB |
| references/dev-tunnels.md | markdown | 1.0 KB |
| references/fallback-transports.md | markdown | 585 B |
| references/ligolo-ng.md | markdown | 1.7 KB |
| references/multi-hop.md | markdown | 749 B |
| references/native-forwarding.md | markdown | 896 B |
references/ligolo-ng.md
View on GitHub# Ligolo-ng 0.8/0.9+ Workflow
## 1. 官方能力
Ligolo-ng 使用 TUN interface,不需要 SOCKS/proxychains;agent 端通常不需要管理员权限,proxy/relay 端需要创建 TUN。
## 2. 安装
从官方 releases 获取匹配版本:
```text
proxy/relay: Linux/Windows/macOS/BSD
agent : target OS/arch
```
先看当前帮助:
```bash
./proxy -h
./agent -h
```
0.8+ CLI/配置与旧教程已有差异,优先遵循当前官方 docs,不把老 `session/start` 语法硬编码为唯一方式。
## 3. Linux relay TUN
手工方式仍可使用:
```bash
sudo ip tuntap add user $(whoami) mode tun ligolo
sudo ip link set ligolo up
```
0.8+ 可优先使用 autoroute/自动 interface 管理能力(按当前版本 UI/CLI)。
## 4. Agent connection
实验环境可使用自签证书;真实授权环境优先验证 certificate fingerprint 或使用受控证书,避免长期 `-ignore-cert` 形成错误习惯。
```text
agent → relay/proxy TLS connection
→ select agent
→ inspect remote interfaces/routes
→ add/autoroute subnet
→ start tunnel
```
## 5. 验证
```bash
ip route
nc -vz INTERNAL 445
curl http://INTERNAL:8080/
```
Ligolo-ng 支持 TCP、UDP 和 ICMP echo;不同扫描类型仍受 userland stack/transport 特性影响。
## 6. Reverse listener / bind
当内网服务只能由 pivot 主机发起或需要 callback forwarding,可使用 Ligolo listener/bind 功能。命令语法按当前 0.9.x `help`/Web UI 为准。
## 7. Multi-hop
第二跳 agent 的回连可以走第一跳已经建立的 reachability,再给第二层网段增加新 route。每层记录独立 session 和 route,避免误删第一跳导致全链断开。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |