コード例 #1
0
ファイル: cmd.php プロジェクト: brucewu16899/artica
    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;
}
//reports
if (isset($_GET["pdf-quarantine-cron"])) {
    reports_build_quarantine_cron();
    exit;
コード例 #2
0
ファイル: cmd.php プロジェクト: rsd/artica-1.5
// 
if(isset($_GET["RestartRetranslator"])){retranslator_restart();exit;}
if(isset($_GET["RetranslatorSitesList"])){retranslator_sites_lists();exit;}
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