mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-04 11:40:22 +00:00
UPDATE blacklist-user-agents.conf include file [ci skip]
This commit is contained in:
parent
ad53f0f867
commit
ee3c2e71d0
1 changed files with 22 additions and 10 deletions
|
@ -1,11 +1,13 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO BLACKLIST OR WHITELIST ANY BAD USER-AGENT STRINGS YOU WANT TO SCAN FOR
|
# EDIT THIS FILE AS YOU LIKE TO BLACKLIST OR WHITELIST ANY BAD USER-AGENT STRINGS YOU WANT TO SCAN FOR
|
||||||
# ****************************************************************************************************
|
# ****************************************************************************************************
|
||||||
|
|
||||||
|
# THIS IS BOTH YOUR WHITELIST AND BLACKLIST FOR USER-AGENTS
|
||||||
|
|
||||||
### VERSION INFORMATION #
|
### VERSION INFORMATION #
|
||||||
###################################################
|
#------------------------
|
||||||
### Version: V4.2019.06
|
### Version: V4.2019.07
|
||||||
### Updated: 2019-06-24
|
### Updated: 2019-06-28
|
||||||
###################################################
|
#-------------------------
|
||||||
### VERSION INFORMATION ##
|
### VERSION INFORMATION ##
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
@ -38,9 +40,9 @@
|
||||||
|
|
||||||
# Make sure any words that contain special characters are escaped and include word boundaries as per the Regex examples below.
|
# Make sure any words that contain special characters are escaped and include word boundaries as per the Regex examples below.
|
||||||
|
|
||||||
# Example the User-Agent name "someverybaduseragentname1" is entered as "\bsomeverybaduseragentname1\b"
|
# Example the User-Agent name "someverybaduseragentname1" is entered as "(?:\b)someverybaduseragentname1(?:\b|)"
|
||||||
# Example the User-Agent name "some-very-bad-useragentname2" is entered as "\bsome\-very\-bad\-useragentname1\b"
|
# Example the User-Agent name "some-very-bad-useragentname2" is entered as "(?:\b)some\-very\-bad\-useragentname1(?:\b|)"
|
||||||
# the "\b" are word boundaries which prevents partial matching and false positives.
|
# the "(?:\b)" and "(?:\b|)" are word boundaries which prevents partial matching and false positives.
|
||||||
|
|
||||||
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
||||||
|
|
||||||
|
@ -59,7 +61,17 @@
|
||||||
# "~*(?:\b)some\-very\-bad\-useragentname2(?:\b|)" 3;
|
# "~*(?:\b)some\-very\-bad\-useragentname2(?:\b|)" 3;
|
||||||
|
|
||||||
# Here are some default things I block on my own server, these appear in various types of injection attacks
|
# Here are some default things I block on my own server, these appear in various types of injection attacks
|
||||||
# You can disable them if you have problems or don't agree by switching thir value to 0
|
# You can disable them if you have problems or don't agree by switching thir value to 0 or moving them into the whitelist section first and then making their value 0
|
||||||
|
|
||||||
|
|
||||||
|
# ------------
|
||||||
|
# MY WHITELIST
|
||||||
|
# ------------
|
||||||
|
|
||||||
|
|
||||||
|
# ------------
|
||||||
|
# MY BLACKLIST
|
||||||
|
# ------------
|
||||||
|
|
||||||
"~*(?:\b)x22(?:\b|)" 3;
|
"~*(?:\b)x22(?:\b|)" 3;
|
||||||
"~*({|})" 3;
|
"~*(?:\b){|}(?:\b|)" 3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue