示例#1
0
    exit;
}
if (isset($_GET["filestat"])) {
    filestat();
    exit;
}
if (isset($_GET["create-folder"])) {
    folder_create();
    exit;
}
if (isset($_GET["folder-remove"])) {
    folder_delete();
    exit;
}
if (isset($_GET["file-content"])) {
    file_content();
    exit;
}
//CLUSTERS
if (isset($_GET["notify-clusters"])) {
    CLUSTER_NOTIFY();
    exit;
}
if (isset($_GET["cluster-restart-notify"])) {
    CLUSTER_CLIENT_RESTART_NOTIFY();
    exit;
}
if (isset($_GET["cluster-client-list"])) {
    CLUSTER_CLIENT_LIST();
    exit;
}
示例#2
0
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->clamd_mem()\n";
}
clamd_mem();
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->crossroads()\n";
}
crossroads();
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->dhcpd_logs()\n";
}
dhcpd_logs();
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->meta_admin_mysql_check()\n";
}
$EnableArticaMetaClient = intval(@file_content("/etc/artica-postfix/settings/Daemons/EnableArticaMetaClient"));
meta_admin_mysql_check();
mysql_admin_mysql_check();
system_admin_mysql_check();
nginx_admin_mysql_check();
seeker();
if ($EnableArticaMetaClient == 0) {
    meta_client_clean_logs();
    exit;
}
if ($GLOBALS["VERBOSE"]) {
    echo "MAIN::" . __LINE__ . " ->END\n";
}
die;
function squid_notifications()
{
示例#3
0
function get_user_info()
{
    $o_data = json_decode(file_content('data/outh_data.json'));
    return $o_data;
}
示例#4
0
文件: cmd.php 项目: rsd/artica-1.5
if(isset($_GET["SmtpNotificationConfigRead"])){SmtpNotificationConfigRead();exit;}
if(isset($_GET["testnotif"])){testnotif();exit;}
if(isset($_GET["ComputerRemoteRessources"])){ComputerRemoteRessources();exit;}
if(isset($_GET["free-cache"])){FreeCache();exit;}
if(isset($_GET["DumpPostfixQueue"])){DumpPostfixQueue();exit;}
if(isset($_GET["smtp-whitelist"])){SMTP_WHITELIST();exit;}
if(isset($_GET["LaunchNetworkScanner"])){LaunchNetworkScanner();exit;}
if(isset($_GET["idofUser"])){idofUser();exit;}
if(isset($_GET["php-rewrite"])){rewrite_php();exit;}

if(isset($_GET["B64-dirdir"])){dirdirBase64();exit;}
if(isset($_GET["Dir-Files"])){Dir_Files();exit;}
if(isset($_GET["filestat"])){filestat();exit;}
if(isset($_GET["create-folder"])){folder_create();exit;}
if(isset($_GET["folder-remove"])){folder_delete();exit;}
if(isset($_GET["file-content"])){file_content();exit;}
if(isset($_GET["file-remove"])){file_remove();exit;}

//CLUSTERS
if(isset($_GET["notify-clusters"])){CLUSTER_NOTIFY();exit;}
if(isset($_GET["cluster-restart-notify"])){CLUSTER_CLIENT_RESTART_NOTIFY();exit;}
if(isset($_GET["cluster-client-list"])){CLUSTER_CLIENT_LIST();exit;}
if(isset($_GET["cluster-delete"])){CLUSTER_DELETE();exit;}
if(isset($_GET["cluster-add"])){CLUSTER_ADD();exit;}

//computers
if(isset($_GET["computers-import-nets"])){COMPUTERS_IMPORT_ARTICA();exit;}
if(isset($_GET["smbclientL"])){smbclientL();exit;}

//paths 
if(isset($_GET["SendmailPath"])){SendmailPath();exit;}