This commit is contained in:
vasco
2026-06-03 11:32:02 +01:00
parent 30a9483402
commit a6860e338d
2 changed files with 1 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ SecAuditLogType Serial
SecAuditLog /var/log/modsecurity/audit.log SecAuditLog /var/log/modsecurity/audit.log
# sql injection # sql injection
SecRule ARGS "(?i)(['\"]|--|#|/\*|\*/)" \ SecRule ARGS|REQUEST_BODY "['\"].*--" \
"id:950001,phase:2,deny,status:403,msg:'SQL Injection: Escape or Comment',log,t:urlDecode,t:lowercase" "id:950001,phase:2,deny,status:403,msg:'SQL Injection: Escape or Comment',log,t:urlDecode,t:lowercase"
# sql keyword # sql keyword

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB