From 0673841d60c600e7dece17144e5da0bcff282824 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Wed, 4 Dec 2024 11:45:51 +0100 Subject: [PATCH] align config.inc path for security check --- assets/out/fileman/php/security.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/out/fileman/php/security.inc.php b/assets/out/fileman/php/security.inc.php index c7995e5..5db629b 100755 --- a/assets/out/fileman/php/security.inc.php +++ b/assets/out/fileman/php/security.inc.php @@ -23,7 +23,7 @@ function checkAccess(string $action): void { unset($action); - if ($_COOKIE['filemanagerkey'] !== md5_file("../../../../../../config.inc.php")) { + if ($_COOKIE['filemanagerkey'] !== md5_file(__DIR__."/../../../../../../../source/config.inc.php")) { die('nice try, noob.'); } }