From 6ca793093398d8a17d29a8a7566d51dd64f3cff0 Mon Sep 17 00:00:00 2001 From: qo-op Date: Mon, 25 Jan 2021 01:33:32 +0100 Subject: [PATCH] SECURE CODE = NO LOG, NO TEMP FILES --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 9464dd7..f162a24 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ $mytime = new Datetime("now"); $timestamp = $mytime->format('U'); // CREATE 6 G1BILLETS in /tmp/g1billet/$timestamp -$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."' 2>&1 >> /tmp/g1billet.log"); +$page = shell_exec(dirname(__FILE__)."/G1BILLETS.sh '".$_REQUEST['montant']."' '".$timestamp."'"); $attachment_location = "/tmp/g1billet/".$timestamp.".pdf"; if (file_exists($attachment_location)) {