]> git.p6c8.net - jirafeau/pcanterino.git/commitdiff
fixed script md5 -> sha256
authorBlackeye <gitlab@blackeyeprojects.de>
Wed, 4 Feb 2026 00:39:18 +0000 (01:39 +0100)
committerBlackeye <gitlab@blackeyeprojects.de>
Wed, 4 Feb 2026 00:39:18 +0000 (01:39 +0100)
script.php

index ae574494bf2165f2698c96b06b4f28773be762db..d28bc02f2dd3f7cb6bad73528a9409f2cb37b821 100644 (file)
@@ -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;

patrick-canterino.de