X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/87c8c5de8a035e3336090758274d8384701e98e8..6e0e58c61a8130b3af0587bbf4f6fce3d334386d:/script.php?ds=sidebyside 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;