small improvements
This commit is contained in:
@@ -26,7 +26,7 @@ $ACTION = escapeshellarg($ACTION);
|
|||||||
$USER = escapeshellarg($USER);
|
$USER = escapeshellarg($USER);
|
||||||
|
|
||||||
$RAND = mt_rand(100000, 999999);
|
$RAND = mt_rand(100000, 999999);
|
||||||
$PASSFILE = $RAND . '.pass';
|
$PASSFILE = '.' . $RAND . '.pass';
|
||||||
file_put_contents($PASSFILE, $PASS);
|
file_put_contents($PASSFILE, $PASS);
|
||||||
|
|
||||||
|
|
||||||
@@ -39,15 +39,15 @@ if($SURE == "yes")
|
|||||||
// Execute command and give output
|
// Execute command and give output
|
||||||
$output = shell_exec($command);
|
$output = shell_exec($command);
|
||||||
echo "<pre>$output</pre>";
|
echo "<pre>$output</pre>";
|
||||||
|
|
||||||
// Delete passfile
|
|
||||||
unlink($PASSFILE);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "You did not hit the necessary checkbox. Aborting.";
|
echo "You did not hit the necessary checkbox. Aborting.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Delete passfile
|
||||||
|
//unlink($PASSFILE);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
|
|||||||
Reference in New Issue
Block a user