X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/3c708cc1e3834dc936e2480261aec9ad56f66a48..1733d88de2fe686cf95ef396eb1566e7db336b0a:/script.php?ds=sidebyside 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;