mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Run Test (Detect Random UA strings)
This commit is contained in:
parent
9bf4ae4439
commit
3818ef26ca
1 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,10 @@
|
|||
map $http_user_agent $bad_bot {
|
||||
default 0;
|
||||
|
||||
# Added 2021-02-05
|
||||
# Regex to detect Random UA Strings
|
||||
"~*(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9]).{12,}" 3;
|
||||
|
||||
# -----------------------------------------------------------------------------------
|
||||
# START CUSTOM BLACKLISTED USER AGENTS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ###
|
||||
# -----------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue