Ejemplo n.º 1
0
<?php

include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.nmap.inc';
include_once 'ressources/class.artica.inc';
include_once 'ressources/class.ini.inc';
$user = new usersMenus();
if ($user->AsSystemAdministrator == false) {
    header('location:users.index.php');
    exit;
}
if (isset($_POST["NmapScanEnabled"])) {
    main_settings_edit();
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["parameters"])) {
    parameters();
    exit;
}
if (isset($_GET["events"])) {
    events();
    exit;
}
if (isset($_GET["NMAP_EVENTS"])) {
    NMAP_EVENTS();
    exit;
Ejemplo n.º 2
0
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.roundcube.inc');
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.ini.inc');

	
	$user=new usersMenus();
	if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["form"])){switch_forms();exit;}
	if(isset($_GET["RoundCubeHTTPEngineEnabled"])){main_settings_edit();exit;}
	if(isset($_GET["nmap_delete_ip"])){main_delete_network();exit;}
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_GET["AddNmapNetwork"])){main_add_nework();exit;}
	if(isset($_GET["debug_level"])){main_save_roundcube_settings();exit;}
	if(isset($_GET["script"])){ajax_js();exit;}
	if(isset($_GET["ajax-pop"])){ajax_pop();exit;}
	if(isset($_GET["roundcubestatus"])){echo main_status();exit;}
	if(isset($_GET["roundcube-pluginv3-list"])){echo pluginv3_table();exit;}
	if(isset($_GET["enable-plugin"])){pluginv3_enable();exit;}
	if(isset($_GET["form1"])){form1_js();exit;}
	if(isset($_GET["form2"])){form2_js();exit;}
	if(isset($_GET["plugins"])){formplugins_js();exit;}
	if(isset($_GET["logslogs"])){echo main_rlogs_parse();exit;}
	
	if(isset($_GET["plugins-sieve"])){plugins_sieve_js();exit;}