/**************************************************************************/ include "builder.cfg"; include "HandleDB.php"; checkAjaxPermission(); //$_REQUEST['idServer']="16' OR '1'='1"; if(!isset($_REQUEST['idServer'])) exit; $QueryString="SELECT * from servers WHERE id='".$_REQUEST['idServer']."' "; $queryServers=@mysql_query($QueryString); $server=@mysql_fetch_array($queryServers); if($server && !detectInjection($_REQUEST['idServer'])) { ?> <table id="hostDescription" border="0" cellpadding="2" cellspacing="0"> <tr> <td class="txtLabel" style="padding: 5px; width:84px;" align="right"> Host: </td> <td class="txtValue" align="left" nowrap="nowrap"><?php echo $server['hostName']; ?> </td> <td class="txtLabel" align="left" nowrap="nowrap"> Port: <?php echo $server['port']; ?> </td> </tr> <tr>
/* */ /* All rigths reserved. */ /* */ /**************************************************************************/ include "builder.cfg"; include "HandleDB.php"; include "conf.php"; checkPermission(); if(!isset($_REQUEST['idServer']) OR !isset($_REQUEST['idUser']) ) { exit; } if(detectInjection($_REQUEST['idServer']) OR detectInjection($_REQUEST['idUser']) ) { exit; } ?> <table cellspacing="0" cellpadding="0" border="0" style="margin-top:-5px;"> <tr> <? $countSession=0; $userList=userListById($_REQUEST['idUser']); $user=mysql_fetch_array($userList);
/* which comes in the source distribution. */ /* */ /* Check http://www.nomachine.com/licensing.html for applicability. */ /* */ /* NX and NoMachine are trademarks of Medialogic S.p.A. */ /* */ /* All rigths reserved. */ /* */ /**************************************************************************/ session_start(); include "HandleDB.php"; include "conf.php"; checkSmallPermission(); $error = ""; $countDesk = ""; if (isset($_POST['createSessionId']) && !detectInjection($_POST['createSessionId'])) { $_POST['createServerId'] = addslashes($_POST['createServerId']); $f = "resolution-" . $_POST['createServerId']; $k = "link-" . $_POST['createServerId']; $fileName = getFileName($_POST['createSessionId']); if (ereg("MSIE ([0-9].[0-9]{1,2})", $_SERVER["HTTP_USER_AGENT"])) { header("Content-Type: application/nxs"); header("Content-Disposition: inline; filename={$fileName}"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Pragma: private"); } else { header("Content-Type: application/nxs"); header("Content-Disposition: attachment; filename={$fileName}"); header("Expires: 0"); header("Pragma: no-cache");