Skip to content

Commit 58f9bc8

Browse files
committed
Extras module update.
1 parent 35f3128 commit 58f9bc8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

modules/module_extras.php

Lines changed: 4 additions & 3 deletions
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.05.20).
11+
* This file: Optional security extras module (last modified: 2025.05.24).
1212
*
1313
* False positive risk (an approximate, rough estimate only): « [ ]Low [x]Medium [ ]High »
1414
*/
@@ -210,9 +210,9 @@
210210
} // 2024.05.02 mod 2025.03.18
211211

212212
/** Probing for env file. */
213-
if ($Trigger(preg_match('~(?:^|[/?])(?:config)?\.env(?:\.(?:example|local|production|save))?(?:$|[/?])~', $LCNrURI), 'Probing for env file')) {
213+
if ($Trigger(preg_match('~(?:^|[/?=])(?:config)?\.env(?:\.(?:example|local|production|save))?(?:$|[/?])~', $LCNrURI), 'Probing for env file')) {
214214
$CIDRAM['Reporter']->report([15, 21], ['Caught probing for env file.'], $CIDRAM['BlockInfo']['IPAddr']);
215-
} // 2025.03.18 mod 2025.04.28
215+
} // 2025.03.18 mod 2025.05.24
216216

217217
/** Attempts by broken bot to incorrectly access ReCaptcha files (treating reference to remote resource as local). */
218218
$Trigger(preg_match('~/www\.google\.com/recaptcha/api\.js(?:$|[/?])~', $LCNrURI), 'Bad request'); // 2025.03.03
@@ -343,6 +343,7 @@
343343
), 'Compromised password used in brute-force attacks'); // 2023.10.10
344344

345345
$Trigger(preg_match('~/etc/passwd:null:null$~', $QueryNoSpace), 'Hack attempt'); // 2024.02.18
346+
$Trigger(preg_match('~\?phpinfo=-1$~', $QueryNoSpace), 'Hack attempt'); // 2025.05.24
346347

347348
/** These signatures can set extended tracking options. */
348349
if (

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.139.0"
242+
Version: "2025.143.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-
- "9f2ea38083a5a618ad7a0148a68ff26bf1d1e94a7db983aaacb12cd1f58bbc3d:31405"
257+
- "72c6fcea5c34b6f2042c428ce7833c99f2588f41142d45259696c1ffc4d4aacd:31500"
258258
- "7b891d1fa4b1c52c410220bc758e8cb7064bd6040430fb149a5b60e9ae2e0838:890"
259259
Used with: "modules"
260260
Reannotate: "modules.dat"

0 commit comments

Comments
 (0)