X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/1272757a4447535a7050cedc403a3c0b0a3c0854..84021524193bc4ac717bc06f901c5cd80fc5f0c8:/script.php diff --git a/script.php b/script.php index ae57449..301ebe8 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;