pale-knight/redteam-skill / skills/recon
recon
Verified通用网络与资产信息收集。面向 IP、CIDR、主机名、企业/域名等尚未明确攻击面的目标,完成资产扩展、主机发现、TCP/UDP端口发现、服务/版本/协议识别、只读服务枚举、网络设备识别和漏洞候选研判。Recon only:不执行漏洞利用、口令爆破、服务配置修改或持久化。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.2 KB |
| references/database-enum.md | markdown | 4.1 KB |
| references/enterprise-osint.md | markdown | 1.5 KB |
| references/external-recon.md | markdown | 3.2 KB |
| references/infrastructure-enum.md | markdown | 2.5 KB |
| references/internal-enum.md | markdown | 1.5 KB |
| references/messaging-enum.md | markdown | 1.6 KB |
| references/network-devices-enum.md | markdown | 4.9 KB |
| references/network-discovery.md | markdown | 1.9 KB |
| references/nse-scripts.md | markdown | 1.6 KB |
| references/service-enum.md | markdown | 3.3 KB |
| references/vulnerability-candidates.md | markdown | 526 B |
references/internal-enum.md
View on GitHub# 内网快速 Recon(立足点侧)
目标:先利用本机已有信息建立内部资产图,再决定是否从攻击机完整扫描。
---
## Linux
```bash
ip -br addr
ip route
ip neigh
cat /etc/resolv.conf
cat /etc/hosts
ss -tunap 2>/dev/null | head -100
getent hosts $(hostname -f) 2>/dev/null
```
本机配置线索:
```bash
env | grep -Ei 'proxy|http_proxy|https_proxy|no_proxy'
grep -RniE 'https?://|jdbc:|redis://|mongodb://|amqp://|kafka|vault|consul|nomad' /etc 2>/dev/null | head -100
```
低噪声邻居优先 `ip neigh` / ARP / DNS;必要时才主动探测。
---
## Windows
```powershell
ipconfig /all
route print
arp -a
Get-NetTCPConnection | Sort-Object RemoteAddress | Select-Object -First 100
Get-DnsClientServerAddress
Get-Content C:\Windows\System32\drivers\etc\hosts
```
环境/代理:
```powershell
Get-ChildItem Env: | ? Name -match 'proxy'
netsh winhttp show proxy
```
---
## 小范围主动探测
已经从 route/ARP/DNS 得到明确子网后:
```bash
nmap -sn 10.20.30.0/24
nmap -Pn -sT -p 22,53,80,443,445,1433,3306,5432,5672,6379,8200,8500,9092,9100 10.20.30.0/24 --open
```
如果当前立足点不能安装扫描器,可用原生命令做少量目标验证,而不是并发扫整个企业网。
---
## 服务家族标记
```text
Windows/AD clues
Database
CI/CD/build
Kubernetes/container
Message queue
Vault/Consul/Nomad
Printer/BMC/network appliance
Storage/NAS
```
只记录发现,不在本文件执行对应利用。
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 |