From: Blackeye Date: Wed, 4 Feb 2026 00:39:18 +0000 (+0100) Subject: fixed script md5 -> sha256 X-Git-Tag: 4.7.2~10^2~5 X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/commitdiff_plain/6e0e58c61a8130b3af0587bbf4f6fce3d334386d fixed script md5 -> sha256 --- diff --git a/script.php b/script.php index ae57449..d28bc02 100644 --- a/script.php +++ b/script.php @@ -183,7 +183,7 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES) echo 'Error 9'; exit; } - if (strlen($link['key']) > 0 && md5($key) != $link['key']) { + if (strlen($link['key']) > 0 && hash('sha256',$key) != $link['key']) { sleep(2); echo 'Error 10'; exit;