Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wgpsec avatar

Waf Bypass Methodology

  • 14 installs
  • 1.6k repo stars
  • Updated July 19, 2026
  • wgpsec/aboutsecurity

Helps with ai & agent building tasks during AI-assisted development.

About

waf-bypass-methodology is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • waf-bypass-methodology
  • AI & Agent Building
  • AI-coding skill

Waf Bypass Methodology by the numbers

  • 14 all-time installs (skills.sh)
  • Ranked #11,296 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill waf-bypass-methodology

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs14
repo stars1.6k
Last updatedJuly 19, 2026
Repositorywgpsec/aboutsecurity

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

WAF 绕过统一方法论

WAF 绕过的核心原则:WAF 和后端应用对同一 HTTP 请求的解析存在差异,利用这个差异让 WAF "看到"合法请求而后端"看到"恶意 payload。

深入参考

  • 编码绕过 Payload(双重 URL/Unicode/HTML/混合编码) → references/encoding-bypass-payloads.md
  • HTTP 协议层绕过(分块传输/Content-Type/方法切换/HTTP2/走私) → references/http-protocol-bypass.md
  • 参数层绕过(HPP/数组语法/Multipart) → references/parameter-bypass.md
  • Payload 变形(通用编码/拆分/格式切换) → references/payload-mutation.md

---

Phase 0: WAF 识别

0.1 检测是否有 WAF

# 发送明显恶意请求,观察响应
curl -s "http://TARGET/?id=1' OR '1'='1" -D-
curl -s "http://TARGET/?id=<script>alert(1)</script>" -D-
curl -s "http://TARGET/?cmd=;id" -D-

# 对比正常请求和恶意请求的响应差异
# WAF 拦截特征:403/406 状态码、特定拦截页面、不同的 Server 头

0.2 WAF 指纹识别

特征WAF 产品
Server: cloudflare / cf-rayCloudflare
X-Sucuri-IDSucuri
响应含 ModSecurityModSecurity
响应含 安全狗 / safedog安全狗
响应含 宝塔 / bt.cn宝塔 WAF
X-Powered-By-Anquanbao安百 WAF
响应含 yunsuo云锁
阿里云 403 页面阿里云盾
腾讯云特定 403腾讯云 WAF

---

通用绕过检查流程

Payload 被拦截 → 403/拦截页
├── 1. 编码绕过
│   ├── 双重 URL 编码
│   ├── Unicode 编码
│   └── 混合大小写 + NULL 字节
├── 2. HTTP 层
│   ├── 分块传输
│   ├── Content-Type 切换
│   ├── HTTP 方法切换
│   └── HTTP/2
├── 3. 参数层
│   ├── 参数污染 (HPP)
│   ├── 数组/JSON 嵌套
│   └── Multipart 包裹
├── 4. Payload 变形
│   ├── 空格替代(注释/Tab/换行)
│   ├── 函数名替代
│   ├── 拼接/编码函数
│   └── 通配符/变量
└── 5. 逻辑层
    ├── 分多次请求发送(先探测再利用)
    └── 利用白名单路径(/api/health + 路径穿越)
每个分支的详细 payload 见对应 references 文件

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.