Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["refresh-progress"])) {
    refresh_progress();
    exit;
}
if (isset($_GET["remote-progress"])) {
    remote_progress();
    exit;
}
if (isset($_GET["disconnect-progress"])) {
    disconnect_progress();
    exit;
}
if (isset($_GET["syslog-query"])) {
    SYSLOG_QUERY();
    exit;
}
if (isset($_GET["influx-client"])) {
    influx_client();
    exit;
}
if (isset($_GET["refresh-repos"])) {
    influx_refresh_repo();
    exit;
}
while (list($num, $ligne) = each($_GET)) {
    $a[] = "{$num}={$ligne}";
}
writelogs_framework("Unable to understand " . @implode("&", $a), __FUNCTION__, __FILE__, __LINE__);
function is_installed()
Ejemplo n.º 2
0
<?php
include_once(dirname(__FILE__)."/frame.class.inc");
include_once(dirname(__FILE__)."/class.unix.inc");
include_once(dirname(__FILE__)."/class.postfix.inc");


if(isset($_GET["CleanCache"])){CleanCache();exit;}
if(isset($_GET["GetLangagueFile"])){LOAD_LANGUAGE_FILE();exit;}
if(isset($_GET["SaveConfigFile"])){SaveConfigFile();exit;}
if(isset($_GET["SaveClusterConfigFile"])){SaveClusterConfigFile();exit;}
if(isset($_GET["SmtpNotificationConfig"])){SmtpNotificationConfig();exit;}
if(isset($_GET["refresh-frontend"])){Refresh_frontend();exit;}
if(isset($_GET["find-program"])){find_sock_program();exit;}
if(isset($_GET["syslog-query"])){SYSLOG_QUERY();exit;}
if(isset($_GET["aptcheck"])){aptcheck();exit;}
if(isset($_GET["SetServerTime"])){SetServerTime();exit;}
if(isset($_GET["CompileSSHDRules"])){CompileSSHDRules();exit;}
if(isset($_GET["ou-ldap-import-execute"])){LDAP_IMPORT_EXEC();exit;}
if(isset($_GET["sys-sync-paquages"])){SysSyncPaquages();exit;}


if(isset($_GET["LaunchRemoteInstall"])){LaunchRemoteInstall();exit;}
if(isset($_GET["restart-web-server"])){RestartWebServer();exit;}
if(isset($_GET["restart-artica-status"])){RestartArticaStatus();exit;}
if(isset($_GET["wake-on-lan"])){WakeOnLan();exit;}

if(isset($_GET["net-ads-leave"])){net_ads_leave();exit;}
if(isset($_GET["process1-force"])){process1_force();exit;}

if(isset($_GET["right-status"])){right_status();exit;}