From 605b0a57e17e33a6ad339adcc23f3b124b1e21f4 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Mon, 13 Jul 2015 14:29:27 +0300 Subject: [PATCH] small improvements --- submit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/submit.php b/submit.php index 29f9d2b..91c513d 100644 --- a/submit.php +++ b/submit.php @@ -26,7 +26,7 @@ $ACTION = escapeshellarg($ACTION); $USER = escapeshellarg($USER); $RAND = mt_rand(100000, 999999); -$PASSFILE = $RAND . '.pass'; +$PASSFILE = '.' . $RAND . '.pass'; file_put_contents($PASSFILE, $PASS); @@ -39,15 +39,15 @@ if($SURE == "yes") // Execute command and give output $output = shell_exec($command); echo "
$output
"; - - // Delete passfile - unlink($PASSFILE); } else { echo "You did not hit the necessary checkbox. Aborting."; } +// Delete passfile +//unlink($PASSFILE); + ?>