From 9c06f52876f1d672a32a82822772a71689cdec7a Mon Sep 17 00:00:00 2001 From: Jordan Samuel Date: Sun, 9 Feb 2020 19:36:15 +0000 Subject: [PATCH 1/3] Update functions.php --- includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/functions.php b/includes/functions.php index 888ecc8..58f47ec 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -25,6 +25,7 @@ function str_contains($haystack, $needle, $ignoreCase = false) function encrypt($value) { + $salt = $sec_key; $encrypted_string=openssl_encrypt($value,"AES-256-CBC",$salt); return $encrypted_string; } From ef447b1e6fa34cb7e97cbd1aca5cfac18ed0b348 Mon Sep 17 00:00:00 2001 From: Jordan Samuel Date: Sun, 9 Feb 2020 19:57:12 +0000 Subject: [PATCH 2/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 900dfdc..94443fb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # Paste 2.2 +[![Download PASTE](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/phpaste/files/latest/download) + [![Download PASTE](https://img.shields.io/sourceforge/dw/phpaste.svg)](https://sourceforge.net/projects/phpaste/files/latest/download) [![Download PASTE](https://img.shields.io/sourceforge/dt/phpaste.svg)](https://sourceforge.net/projects/phpaste/files/latest/download) From 473aebf1bf17e435927437e3c1b7107bbb3b1d0a Mon Sep 17 00:00:00 2001 From: Jordan Samuel Date: Sun, 9 Feb 2020 19:58:31 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 94443fb..7dd6844 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,15 @@ The original source is available from the previous owner's **[GitHub repository] A demo of Paste is available on our homepage at **[SourceForge](https://phpaste.sourceforge.io/demo)** -A public version can be found **[here](https://paste.boxlabs.uk)** +A public version can be found **[here](https://paste.boxlabs.uk/)** IRC: If you would like support or want to contribute to Paste connect to irc.collectiveirc.net in channel #PASTE Any bugs can be reported at: https://github.com/jordansamuel/PASTE/issues/new -[![Frontend](http://i.imgur.com/UxZVxqo.png)](http://pastethis.in/) -[![Frontend](http://i.imgur.com/peFanYH.png)](http://pastethis.in/) +[![Frontend](http://i.imgur.com/UxZVxqo.png)](https://paste.boxlabs.uk/) +[![Frontend](http://i.imgur.com/peFanYH.png)](https://paste.boxlabs.uk/) Requirements