Esempio n. 1
0
<?php

include_once dirname(__FILE__) . "/frame.class.inc";
include_once dirname(__FILE__) . "/class.unix.inc";
include_once dirname(__FILE__) . "/class.postfix.inc";
include_once dirname(__FILE__) . "/class.postfix.inc";
while (list($num, $line) = each($_GET)) {
    $f[] = "{$num}={$line}";
}
writelogs_framework("Get query " . @implode(",", $f), "main()", __FILE__, __LINE__);
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"])) {
Esempio 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;}