Skip to content

Commit

Permalink
Bot user agents module update (CIDRAM/CIDRAM#574).
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Apr 11, 2024
1 parent 0e5244b commit e3ec70a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions modules/module_botua.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* License: GNU/GPLv2
* @see LICENSE.txt
*
* This file: Bot user agents module (last modified: 2024.01.18).
* This file: Bot user agents module (last modified: 2024.04.11).
*
* False positive risk (an approximate, rough estimate only): « [ ]Low [x]Medium [ ]High »
*/
Expand Down Expand Up @@ -236,7 +236,7 @@
), 'Malware UA'); // 2017.04.23

$Trigger(preg_match(
'~\.buzz|(?<!amazona)dbot/|^m$|(?:\W|^)(?:cu|pe)rl(?:\W|$)|^(?!linkedinbot).*http-?(?:agent|client)|' .
'~\.buzz|(?<!amazona)dbot/|^m$|(?:\W|^)(?:cu|pe)rl(?:\W|$)|^(?!linkedinbot).*http-?(?:agent|client)|#boss#|' .
'a(?:bonti|ccserver|cme.spider|dreview/\d|nyevent-http|ppengine)|' .
'b(?:abbar\.tech|igbozz|lackbird|logsearch|logbot|salsa)|' .
'c(?:astlebot|atexplorador|lickagy|liqzbot|ontextad|orporama|ortex/\d|rowsnest|yberpatrol)|' .
Expand All @@ -262,7 +262,7 @@
) || preg_match(
'~^Mozilla/5\.0( [A-Za-z]{2,5}/0\..)?$~',
$CIDRAM['BlockInfo']['UA']
), 'Unauthorised'); // 2023.09.15 mod 2023.12.17
), 'Unauthorised'); // 2023.09.15 mod 2024.04.11

$Trigger(preg_match(
'~^(?:bot|java|msie|windows-live-social-object-extractor)|\\((?:java|\w:\d{2,})~',
Expand Down Expand Up @@ -323,12 +323,13 @@
$Trigger(preg_match('~^MGLNDD_~i', $UANoSpace), 'Attempting to expose honeypots'); // 2022.05.08

$Trigger(preg_match(
'~anonymous-?coward|banana-?bot|bot-?test|brands-?bot|clark-?crawler' .
'|fidget-?spinner-?bot|friendly-?spider|jaddjabot|keys-?so-?bot|orbb' .
'ot|phxbot|storm-?crawler|test-?bot|thesis-?research-?bot|thinkchaos' .
'|tiny-?bot|tiny-?test|whatstuffwherebot|zephuli-?bot~',
'~adbar|anonymous-?coward|banana-?bot|bot-?test|brands-?bot|' .
'clark-?crawler|fidget-?spinner-?bot|friendly-?spider|' .
'jaddjabot|keys-?so-?bot|orbbot|phxbot|storm-?crawler|' .
'test-?bot|thesis-?research-?bot|thinkchaos|tiny-?bot|tiny-?test|trafilatura|' .
'whatstuffwherebot|zephuli-?bot~',
$UANoSpace
), 'Scraper UA'); // 2023.11.17 mod 2024.01.18
), 'Scraper UA'); // 2023.11.17 mod 2024.04.11

/** These signatures can set extended tracking options. */
if (
Expand Down
4 changes: 2 additions & 2 deletions modules/modules.dat
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ module_bgpview.php:
module_botua.php:
Name: "Bot user agents module"
False Positive Risk: "Medium"
Version: "2024.17.0"
Version: "2024.101.0"
Dependencies:
PHP: "^5.4|^7|^8"
CIDRAM Core: "^1.13.1|^2.0.1"
Expand All @@ -209,7 +209,7 @@ module_botua.php:
To:
- "module_botua.php"
Checksum:
- "c7d35859e59f89bdeca96c720fde15054b906b4bbd3986c97d518e4e93a1aff0:25537"
- "3054366facd518d0c665f4a8c4b21e1d095836ab73d63149299db6af6fb42e95:25575"
Used with: "modules"
Reannotate: "modules.dat"
module_cookies.php:
Expand Down

0 comments on commit e3ec70a

Please sign in to comment.