-[ This page intentionally left blank. ]-";
exit;
}
?>
Domain status
Reload
Update images
Update
Update new
if(isset($_POST['domain'])) {
$var = "echo ". $_POST['domain'] ." ". $_POST['interest'] ." >> list.domains.all.txt";
shell_exec($var);
}
if(isset($_GET['update'])) {
shell_exec("sh update.sh");
}
if(isset($_GET['bara'])) {
if($_GET['bara'] == "min")
$bara = "interest_sub -e interest_min";
elseif ($_GET['bara'] == "koll")
$bara = "interest_koll";
elseif($_GET['bara'] == "vill")
$bara = "interest_vill";
} else
$bara = "interest";
echo "";
echo "| Domän | ";
echo "Går ut | ";
echo "SSL | ";
echo "Skapad | ";
echo "Whois | ";
echo "IP | ";
echo "ping | ";
echo "
";
if(isset($_GET['bara'])) $endast="&bara=". $_GET['bara'];
else $endast="";
//echo "| Domän | Går ut | SSL | Skapad | Whois | ip | ping |
";
if(isset($_GET['sort'])) {
if($_GET['sort'] == "ip")
echo shell_exec("for x in \$(cat list.update.txt|sort -k 2|grep -e $bara|awk '{print \$1}'); do sh show.sh \$x; done");
elseif($_GET['sort'] == "namn")
echo shell_exec("for x in \$(cat list.update.txt|sort -k 1|grep -e $bara|awk '{print \$1}'); do sh show.sh \$x; done");
elseif($_GET['sort'] == "skapad")
echo shell_exec("for x in \$(cat list.update.txt|sort -k 6|grep -e $bara|awk '{print \$1}'); do sh show.sh \$x; done");
elseif($_GET['sort'] == "slut")
echo shell_exec("for x in \$(cat list.update.txt|sort -k 7|grep -e $bara|awk '{print \$1}'); do sh show.sh \$x; done");
elseif($_GET['sort'] == "ssl")
echo shell_exec("for x in \$(cat list.update.txt|sort -nk 5|grep -e $bara|awk '{print \$1}'); do sh show.sh \$x; done");
} else {
echo shell_exec("for x in \$(cat list.update.txt|sort -nk 8 -nk 9|grep -e $bara|awk '{print \$1}'); do sh show.sh \$x; done");
}
//echo shell_exec("for x in \$(cat list.update.txt|sort|awk '{print \$1}'); do sh show.sh \$x; done");
echo "
";
?>
Alla domäner
Mina domäner
Domäner jag vill ha koll på
Domäner jag eventuellt vill skaffa
Ny domän:
Add domains: sudo certbot --apache
Check update: sudo systemctl status certbot.timer
Test: sudo certbot renew --dry-run
Förläng bara en domänsudo certbot --apache certonly -d <domän>