示例#1
0
}
if (isset($_GET["system-unique-id"])) {
    GetUniqueID();
    exit;
}
if (isset($_GET["system-debian-kernel"])) {
    system_debian_kernel();
    exit;
}
if (isset($_GET["system-debian-upgrade-kernel"])) {
    system_debian_kernel_upgrade();
    exit;
}
//clamav
if (isset($_GET["update-clamav"])) {
    ClamavUpdate();
    exit;
}
//reports
if (isset($_GET["pdf-quarantine-cron"])) {
    reports_build_quarantine_cron();
    exit;
}
if (isset($_GET["pdf-quarantine-send"])) {
    reports_build_quarantine_send();
    exit;
}
//pure-ftpd
if (isset($_GET["pure-ftpd-status"])) {
    pureftpd_status();
    exit;
示例#2
0
文件: cmd.php 项目: rsd/artica-1.5
if(isset($_GET["RetranslatorEvents"])){retranslator_events();exit;}
if(isset($_GET["retranslator-status"])){retranslator_status();exit;}
if(isset($_GET["retranslator-execute"])){retranslator_execute();exit;}
if(isset($_GET["retranslator-dbsize"])){retranslator_dbsize();exit;}
if(isset($_GET["retranslator-tmp-dbsize"])){retranslator_tmp_dbsize();exit;}

if(isset($_GET["Global-Applications-Status"])){Global_Applications_Status();exit;}
if(isset($_GET["status-forced"])){Global_Applications_Status();exit;}
if(isset($_GET["system-reboot"])){shell_exec("reboot");exit;}
if(isset($_GET["system-shutdown"])){shell_exec("init 0");exit;}
if(isset($_GET["system-unique-id"])){GetUniqueID();exit;}
if(isset($_GET["system-debian-kernel"])){system_debian_kernel();exit;}
if(isset($_GET["system-debian-upgrade-kernel"])){system_debian_kernel_upgrade();exit;}

//clamav
if(isset($_GET["update-clamav"])){ClamavUpdate();exit;}
if(isset($_GET["clamd-restart"])){clamd_restart();exit;}
if(isset($_GET["clamav-av-pattern-status"])){clamd_pattern_status();exit;}
if(isset($_GET["clamd-reload"])){clamd_reload();exit;}



//reports
if(isset($_GET["pdf-quarantine-cron"])){reports_build_quarantine_cron();exit;}
if(isset($_GET["pdf-quarantine-send"])){reports_build_quarantine_send();exit;}

//pure-ftpd

if(isset($_GET["pure-ftpd-status"])){pureftpd_status();exit;}
if(isset($_GET["pure-ftpd-restart"])){pureftpd_restart();exit;}
if(isset($_GET["pure-ftpd-users"])){pureftpd_users();exit;}