This file is indexed.

/usr/share/netmrg/lib/ajax.php is in netmrg 0.20-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/********************************************
* NetMRG Integrator
*
* ajax.php
* AJAX Common Library
*
* see doc/LICENSE for copyright information
********************************************/

$xajax = new xajax("ajax.php");
$xajax->registerFunction("redraw_subdevice");
$xajax->registerFunction("redraw_monitor");

class netmrgXajaxResponse extends xajaxResponse
{
	function addCreateOption($sSelectId, $sOptionText, $sOptionValue)  
	{
		$this->addScript("addOption('".$sSelectId."','".$sOptionText."','".$sOptionValue."');");
	}

	function addCreateOptions($sSelectId, $aOptions)
	{
		foreach($aOptions as $sOptionText => $sOptionValue)
		{
			$this->addCreateOption($sSelectId, $sOptionText, $sOptionValue);
		}
	}

	function addClearSelect($sSelectId)
	{
		$this->addScript("clearSelect('".$sSelectId."');");
	}
}

?>