예제 #1
0
}
if (isset($_GET["WhiteListResolvMX"])) {
    IpTables_WhiteListResolvMX();
    exit;
}
if (isset($_GET["unix-groups"])) {
    unix_groups();
    exit;
}
if (isset($_GET["ping"])) {
    ping();
    exit;
}
//autofs
if (isset($_GET["autofs-ini-status"])) {
    AUTOFS_STATUS();
    exit;
}
if (isset($_GET["autofs-restart"])) {
    AUTOFS_RESTART();
    exit;
}
if (isset($_GET["autofs-reload"])) {
    AUTOFS_RELOAD();
    exit;
}
//resolv
if (isset($_GET["copyresolv"])) {
    copyresolv();
    exit;
}
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
if(isset($_GET["cdir-calc"])){IP_CALC_CDIR();exit;}
if(isset($_GET["ip-get-default-getway"])){getDefaultGateway();exit;}
if(isset($_GET["ip-get-default-dns"])){GetMyDNSServers();exit;}
if(isset($_GET["ip-del-route"])){IP_DEL_ROUTE();exit;}
if(isset($_GET["ip-build-routes"])){IP_ROUTES();exit;}

if(isset($_GET["DeleteAllIpTablesRules"])){IpTables_delete_all_rules();exit;}
if(isset($_GET["WhiteListResolvMX"])){IpTables_WhiteListResolvMX();exit;}


if(isset($_GET["unix-groups"])){unix_groups();exit;}
if(isset($_GET["ping"])){ping();exit;}


//autofs
if(isset($_GET["autofs-ini-status"])){AUTOFS_STATUS();exit;}
if(isset($_GET["autofs-restart"])){AUTOFS_RESTART();exit;}
if(isset($_GET["autofs-reload"])){AUTOFS_RELOAD();exit;}


//resolv
if(isset($_GET["copyresolv"])){copyresolv();exit;}


if(isset($_GET["greyhole-ini-status"])){GREYHOLE_STATUS();exit;}
if(isset($_GET["greyhole-restart"])){GREYHOLE_RESTART();exit;}
if(isset($_GET["greyhole-daily-fck"])){GREYHOLE_DAILY_FCK();exit;}


if(isset($_GET["ProcessExists"])){ProcessExists();exit;}