5 lines
225 B
Plaintext
Raw Normal View History

# Apache ModSecurity rules for LFI
SecRuleEngine On
2025-02-06 00:25:50 +00:00
SecRule REQUEST_URI "\(\?:\(\?:\^\|\[x5c/;\]\)\.\{2,3\}\[x5c/;\]\|\[x5c/;\]\.\{2,3\}\(\?:\[x5c/;\]\|\$\)\)" "id:1000,phase:1,deny,status:403,log,msg:'lfi attack detected'"