mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 08:27:10 +03:00
Updated Reference Manual (mediawiki)
@@ -3592,7 +3592,7 @@ This operator is the same as @pm, except that it takes a list of files as argume
|
|||||||
# Detect suspicious user agents using the keywords in
|
# Detect suspicious user agents using the keywords in
|
||||||
# the files /path/to/blacklist1 and blacklist2 (the latter
|
# the files /path/to/blacklist1 and blacklist2 (the latter
|
||||||
# must be placed in the same folder as the configuration file)
|
# must be placed in the same folder as the configuration file)
|
||||||
SecRule REQUEST_HEADERS:User-Agent "@pm /path/to/blacklist1 blacklist2" "id:167"
|
SecRule REQUEST_HEADERS:User-Agent "@pmFromFile /path/to/blacklist1 blacklist2" "id:167"
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|||||||
Reference in New Issue
Block a user