syntax error?
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
SecRuleEngine On
|
SecRuleEngine On
|
||||||
SecRequestBodyAccess On
|
SecRequestBodyAccess On
|
||||||
SecResponseBodyAccess Off
|
SecResponseBodyAccess Off
|
||||||
SecDebugLog /var/log/modsecurity/debug.log
|
#SecDebugLog /var/log/modsecurity/debug.log
|
||||||
SecDebugLogLevel 0
|
SecDebugLogLevel 0
|
||||||
SecAuditLogParts ABIJ
|
SecAuditLogParts ABIJ
|
||||||
SecAuditLogType Serial
|
SecAuditLogType Serial
|
||||||
SecAuditLog /var/log/modsecurity/audit.log
|
#SecAuditLog /var/log/modsecurity/audit.log
|
||||||
|
|
||||||
# SQL Injection protection
|
# SQL Injection protection
|
||||||
SecRule ARGS "(?i)(union(\s+all)?\s+select|select\s+.*\s+from|insert\s+into|update\s+.*\s+set|delete\s+from|drop\s+table|or\s+1=1|--|#|/\*|\*/|\bexec\b|\bexecute\b)" "id:'950001',phase:2,deny,status:403,msg:'SQL Injection Attack Detected',log"
|
SecRule ARGS "(?i)(union(\s+all)?\s+select|select\s+.*\s+from|insert\s+into|update\s+.*\s+set|delete\s+from|drop\s+table|or\s+1=1|--|#|/\*|\*/|\bexec\b|\bexecute\b)" "id:'950001',phase:2,deny,status:403,msg:'SQL Injection Attack Detected',log"
|
||||||
|
|||||||
Reference in New Issue
Block a user