kys4
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
SecRuleEngine On
|
||||
SecRequestBodyAccess On
|
||||
SecResponseBodyAccess Off
|
||||
#SecDebugLog /var/log/modsecurity/debug.log
|
||||
SecDebugLog /var/log/modsecurity/debug.log
|
||||
SecDebugLogLevel 0
|
||||
SecAuditLogParts ABIJ
|
||||
SecAuditLogType Serial
|
||||
#SecAuditLog /var/log/modsecurity/audit.log
|
||||
SecAuditLog /var/log/modsecurity/audit.log
|
||||
|
||||
# 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)" \
|
||||
|
||||
Reference in New Issue
Block a user