예제 #1
0
    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;
}
if (isset($_GET["compile-proxy"])) {
    PROXY_SAVE();
    exit;
}
if (isset($_GET["sarg-config"])) {
    SARG_SAVE();
    exit;
}
if (isset($_GET["sarg-run"])) {
    SARG_EXEC();
    exit;
}
if (isset($_GET["sarg-passwords"])) {
    SARG_PASSWORDS();
    exit;
}
//syslog
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
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;}

if(isset($_GET["compile-proxy"])){PROXY_SAVE();exit;}
if(isset($_GET["sarg-config"])){SARG_SAVE();exit;}
if(isset($_GET["sarg-run"])){SARG_EXEC();exit;}
if(isset($_GET["sarg-passwords"])){SARG_PASSWORDS();exit;}


//syslog
if(isset($_GET["syslog-master-mode"])){syslog_master_mode();exit;}
if(isset($_GET["syslog-client-mode"])){syslog_client_mode();exit;}
if(isset($_GET["IsUDPport"])){IsUDPport();exit;}

//PDNS
if(isset($_GET["pdns-restart"])){POWERDNS_RESTART();exit;}


//DNSMASQ