command-injection-methodology

Installation
SKILL.md

命令注入完整方法论

Phase 1: 注入点发现

常见存在命令注入的功能: Ping工具、DNS查询、文件操作、网络诊断、系统信息页面 常见参数名: ip, host, cmd, command, exec, ping, query, domain, address, ip_address

⛔ 深入参考(遇到绕过时必读)

Phase 2: 基础注入测试(按优先级)

使用 response_diff 对比正常/注入请求的响应差异,快速定位注入点

  1. 分号: 127.0.0.1;id
  2. 换行: %0aid最可靠,通常不被过滤
  3. 管道: 127.0.0.1|id
  4. AND/OR: 127.0.0.1 && id / 127.0.0.1 || id
  5. 替换: 127.0.0.1`id` / 127.0.0.1$(id)
Related skills

More from wgpsec/aboutsecurity

Installs
10
GitHub Stars
1.3K
First Seen
Mar 25, 2026