1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# SQL Operator Alternatives
# Logical and equality operator variations across SQL dialects for WAF bypass
# Loaded at compile-time via include_str! — adding entries here = zero Rust changes
# ═══════════════════════════════════════════
# Logical OR alternatives
# ═══════════════════════════════════════════
[[]]
= "OR"
= "Standard SQL OR operator"
[[]]
= "||"
= "SQLite/Oracle concatenation and logical OR"
[[]]
= "oR"
= "Mixed case OR (bypass case-sensitive filters)"
[[]]
= "Or"
= "Mixed case Or (bypass case-sensitive filters)"
[[]]
= "OR/*bypass*/"
= "Comment-appended OR (breaks regex boundary)"
[[]]
= "/*!OR*/"
= "MySQL conditional comment OR"
[[]]
= "OR%0a"
= "OR with URL-encoded newline suffix"
# ═══════════════════════════════════════════
# Logical AND alternatives
# ═══════════════════════════════════════════
[[]]
= "AND"
= "Standard SQL AND operator"
[[]]
= "&&"
= "MySQL logical AND"
[[]]
= "aNd"
= "Mixed case AND (bypass case-sensitive filters)"
[[]]
= "AnD"
= "Mixed case AnD (bypass case-sensitive filters)"
[[]]
= "AND/*bypass*/"
= "Comment-appended AND (breaks regex boundary)"
[[]]
= "/*!AND*/"
= "MySQL conditional comment AND"
[[]]
= "%26%26"
= "URL-encoded double-ampersand (bypass filter)"
# ═══════════════════════════════════════════
# Equality alternatives
# ═══════════════════════════════════════════
[[]]
= "="
= "Standard equality operator"
[[]]
= " LIKE "
= "LIKE operator with spaces (string comparison)"
[[]]
= " REGEXP "
= "REGEXP operator (MySQL/PostgreSQL)"
[[]]
= " RLIKE "
= "RLIKE operator (MySQL)"
[[]]
= " IS "
= "IS operator (NULL comparison, boolean)"
[[]]
= " NOT IN ("
= "Double-negative NOT IN for equality (requires closing paren)"
[[]]
= " BETWEEN "
= "BETWEEN range (use with matching value pair)"
[[]]
= " GLOB "
= "SQLite GLOB operator"
[[]]
= " SOUNDS LIKE "
= "MySQL phonetic comparison (bypasses string match filters)"
[[]]
= " DIV "
= "MySQL integer division (1 DIV 1 = 1, truthy)"
[[]]
= " XOR "
= "MySQL XOR operator (0 XOR 1 = 1, truthy)"