mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
Update: [Fri Feb 7 00:25:52 UTC 2025]
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Apache ModSecurity rules for RFI
|
||||
SecRuleEngine On
|
||||
|
||||
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1137,phase:1,deny,status:403,log,msg:'rfi attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?i:file\|ftps\?\|https\?\)://\(\?:d\{1,3\}\.d\{1,3\}\.d\{1,3\}\.d\{1,3\}\)" "id:1136,phase:1,deny,status:403,log,msg:'rfi attack detected'"
|
||||
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1138,phase:1,deny,status:403,log,msg:'rfi attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?i:file\|ftps\?\|https\?\)://\(\?:d\{1,3\}\.d\{1,3\}\.d\{1,3\}\.d\{1,3\}\)" "id:1028,phase:1,deny,status:403,log,msg:'rfi attack detected'"
|
||||
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1029,phase:1,deny,status:403,log,msg:'rfi attack detected'"
|
||||
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1030,phase:1,deny,status:403,log,msg:'rfi attack detected'"
|
||||
|
||||
Reference in New Issue
Block a user