From 595dedf13e12ceda58fb1f998c6a4897dd1522fd Mon Sep 17 00:00:00 2001 From: Edwin F Sturt Date: Fri, 2 Jul 2021 15:12:00 +0530 Subject: [PATCH] Preventing accessing sensitive https://www.linkedin.com/posts/sturtedwin_sentrifugo-cyberattack-cybersecurity-activity-6816661017402187776-VrfV --- install/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index 985d7e6d0..6d6950abc 100644 --- a/install/index.php +++ b/install/index.php @@ -28,7 +28,12 @@ ini_set('display_errors', '1'); ini_set('max_execution_time',0); + +if (strpos($_SERVER['REQUEST_URI'], "install_old") !== false){ + die('access denied'); +} + ?> @@ -149,4 +154,4 @@ - \ No newline at end of file +