Skip to content

Commit f2df00c

Browse files
committed
Extras module update.
1 parent dd6d449 commit f2df00c

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

modules/module_extras.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Optional security extras module (last modified: 2025.07.11).
11+
* This file: Optional security extras module (last modified: 2025.07.12).
1212
*
1313
* False positive risk (an approximate, rough estimate only): « [ ]Low [x]Medium [ ]High »
1414
*/
@@ -217,6 +217,10 @@
217217

218218
/** Attempts by broken bot to incorrectly access ReCaptcha files (treating reference to remote resource as local). */
219219
$Trigger(preg_match('~/www\.google\.com/recaptcha/api\.js(?:$|[/?])~', $LCNrURI), 'Bad request'); // 2025.03.03
220+
221+
if ($Trigger(preg_match('~(?:^|/)wp-content/uploads/\+year\+/\+month\+/~', $LCNrURI), 'Scraping WP media libraries')) {
222+
$CIDRAM['Reporter']->report([15], ['Misconfigured bot caught trying to scrape WordPress media libraries.'], $CIDRAM['BlockInfo']['IPAddr']);
223+
} // 2015.07.12
220224
}
221225

222226
/**

modules/modules.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ module_cookies.php:
239239
module_extras.php:
240240
Name: "Optional security extras module"
241241
False Positive Risk: "Medium"
242-
Version: "2025.191.0"
242+
Version: "2025.192.0"
243243
Dependencies:
244244
PHP: "^5.4|^7|^8"
245245
CIDRAM Core: "^1.13.1|^2.0.1"
@@ -254,7 +254,7 @@ module_extras.php:
254254
- "module_extras.php"
255255
- "module_extras.yaml"
256256
Checksum:
257-
- "7be1883a5ecd291d198f64f9153fe2513b0a73c5862fe0bd1afe0558ba3fa276:32991"
257+
- "8f62983e8db8e17214699879c60f02a0e3ac4448efa21f24d06d13ca5433ea99:33297"
258258
- "7b891d1fa4b1c52c410220bc758e8cb7064bd6040430fb149a5b60e9ae2e0838:890"
259259
Used with: "modules"
260260
Reannotate: "modules.dat"

0 commit comments

Comments
 (0)