php?
php code _ADMIN.PHP_ ----
#copy an md5 (crypt whatever) pass here :
$passord = "Sup3r L3T, c%pt pasS";
if (!isset($m))
{
echo "<form action=\"?m=2\" method=\"post\">";
echo "please input your personnal code : <input type=\"password=\" name=\"secPass\">";
echo "<input type=\"submit\"></form>";
}
if ($m == "2")
{
if ($passord == md5($password))
{
system("/path/to/apachetrcl restart");
echo "finito";
}
}
be creative....
|