Beispiel #1
0
    exit;
}
if (isset($_GET["artica_ip_addr"])) {
    artica_import_save();
    exit;
}
if (isset($_POST["popup_import_list"])) {
    artica_importlist_perform();
    exit;
}
if (isset($_GET["selection-computers"])) {
    selection_popup();
    exit;
}
if (isset($_GET["selection-list"])) {
    selection_list();
    exit;
}
if (isset($_POST["ipban"])) {
    ipban_save();
    exit;
}
if (posix_getuid() != 0) {
    js();
}
function GetRights()
{
    $users = new usersMenus();
    if ($users->AsSystemAdministrator) {
        return true;
    }
Beispiel #2
0
if(isset($_GET["Status"])){Status();exit;}
if(isset($_GET["view-scan-logs"])){events();exit;}
if(isset($_GET["NetWorksDisable"])){networks_disable();exit;}
if(isset($_GET["NetWorksEnable"])){networks_enable();exit;}

if(isset($_GET["artica-import-popup"])){artica_import_popup();exit;}
if(isset($_GET["artica-import-delete"])){artica_import_delete();exit;}

if(isset($_GET["artica-importlist-popup"])){artica_importlist_popup();exit;}


if(isset($_GET["artica_ip_addr"])){artica_import_save();exit;}
if(isset($_POST["popup_import_list"])){artica_importlist_perform();exit;}

if(isset($_GET["selection-computers"])){selection_popup();exit;}
if(isset($_GET["selection-list"])){selection_list();exit;}




if(posix_getuid()<>0){js();}



function ComputersAllowDHCPLeasesSave(){
	$sock=new sockets();
	$sock->SET_INFO("ComputersAllowDHCPLeases",$_GET["ComputersAllowDHCPLeases"]);
	
}
function ComputersAllowNmapSave(){
	$sock=new sockets();