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); + ?>