mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-11 19:18:46 +00:00
@@ -48,7 +48,16 @@ bots:
|
||||
- name: generic-browser
|
||||
user_agent_regex: >-
|
||||
Mozilla|Opera
|
||||
action: CHALLENGE
|
||||
action: WEIGH
|
||||
weight:
|
||||
adjust: 5
|
||||
|
||||
- name: high-pass-rate
|
||||
pass_rate:
|
||||
rate: 0.8
|
||||
action: WEIGH
|
||||
weight:
|
||||
adjust: -15
|
||||
|
||||
dnsbl: false
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
- name: deny-aggressive-brazilian-scrapers
|
||||
action: DENY
|
||||
- name: aggressive-brazilian-scrapers
|
||||
action: WEIGH
|
||||
expression:
|
||||
any:
|
||||
# Internet Explorer should be out of support
|
||||
@@ -18,11 +18,9 @@
|
||||
- userAgent.contains("Win 9x")
|
||||
# Amazon does not have an Alexa Toolbar.
|
||||
- userAgent.contains("Alexa Toolbar")
|
||||
- name: challenge-aggressive-brazilian-scrapers
|
||||
action: CHALLENGE
|
||||
expression:
|
||||
any:
|
||||
# This is not released, even Windows 11 calls itself Windows 10
|
||||
- userAgent.contains("Windows NT 11.0")
|
||||
# iPods are not in common use
|
||||
- userAgent.contains("iPod")
|
||||
- userAgent.contains("iPod")
|
||||
weight:
|
||||
adjust: 10
|
||||
@@ -1,4 +1,6 @@
|
||||
- name: cloudflare-workers
|
||||
headers_regex:
|
||||
CF-Worker: .*
|
||||
action: DENY
|
||||
action: WEIGH
|
||||
weight:
|
||||
adjust: 5
|
||||
@@ -1,9 +1,14 @@
|
||||
- name: lightpanda
|
||||
user_agent_regex: ^LightPanda/.*$
|
||||
action: DENY
|
||||
action: WEIGH
|
||||
weight:
|
||||
adjust: 5
|
||||
- name: headless-chrome
|
||||
user_agent_regex: HeadlessChrome
|
||||
action: DENY
|
||||
action: WEIGH
|
||||
weight:
|
||||
adjust: 5
|
||||
- name: headless-chromium
|
||||
user_agent_regex: HeadlessChromium
|
||||
action: DENY
|
||||
weight:
|
||||
adjust: 5
|
||||
@@ -1,3 +1,5 @@
|
||||
- name: no-user-agent-string
|
||||
action: DENY
|
||||
expression: userAgent == ""
|
||||
action: WEIGH
|
||||
expression: userAgent == ""
|
||||
weight:
|
||||
adjust: 10
|
||||
Reference in New Issue
Block a user