From cd04278b6615c6584682549c771b1f2cfb7a996d Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 15 Mar 2019 23:32:21 +0100 Subject: [PATCH] Fix typo Signed-off-by: falkTX --- paste/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paste/index.php b/paste/index.php index 2e270a4..bb5d586 100644 --- a/paste/index.php +++ b/paste/index.php @@ -52,7 +52,7 @@ else if (! empty($_POST["paste_text"])) $paste_name = htmlspecialchars($_POST["paste_title"]); $paste_pass = htmlspecialchars($_POST["paste_password"]); - if (sha256($paste_pass) != "fc41cad9d74d2529996dd7118537cd2d4b288f3d9737caa45c0f05f0f0c088c0") { + if (hash('sha256', $paste_pass) != "fc41cad9d74d2529996dd7118537cd2d4b288f3d9737caa45c0f05f0f0c088c0") { die("This pastebin is now protected with a password due to users abusing it for copyright infringement"); }