small improvements
This commit is contained in:
@@ -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 "<pre>$output</pre>";
|
||||
|
||||
// Delete passfile
|
||||
unlink($PASSFILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "You did not hit the necessary checkbox. Aborting.";
|
||||
}
|
||||
|
||||
// Delete passfile
|
||||
//unlink($PASSFILE);
|
||||
|
||||
?>
|
||||
|
||||
</td></tr></table>
|
||||
|
||||
Reference in New Issue
Block a user