mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-06 20:45:39 +08:00
改进SQL注入检测
This commit is contained in:
@@ -376,7 +376,7 @@ func HTTPFirewallTemplate() *HTTPFirewallPolicy {
|
||||
IsOn: true,
|
||||
Param: "${requestAll}",
|
||||
Operator: HTTPFirewallRuleOperatorMatch,
|
||||
Value: `(updatexml|extractvalue|ascii|ord|char|chr|count|concat|rand|floor|substr|length|len|user|database|benchmark|analyse)\s*\(`,
|
||||
Value: `\b(updatexml|extractvalue|ascii|ord|char|chr|count|concat|rand|floor|substr|length|len|user|database|benchmark|analyse)\s*\(.*\)`,
|
||||
IsCaseInsensitive: true,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user