This file is indexed.

/usr/share/phpgacl/soap/server.php is in phpgacl 3.3.7-7.3.

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
<?php
/*
 *  MAKE SURE phpGACL's DEBUG IS DISABLED... Otherwise the SOAP server will break.
 *
 *
 *  Currently, only the acl_check() function is exported to the SOAP server.
 *
 */

/*
 *  A small speed improvement can be made if you copy the $gacl_options array from gacl_admin.inc.php
 *  into this file, and only include the ../gacl.class.php file. 
 */
require_once('../admin/gacl_admin.inc.php');
require_once('/usr/share/php/nusoap/nusoap.php');

$s = new soap_server;

$s->register('acl_check');
$s->register('test');

function acl_check($aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $root_aro_group_id=NULL, $root_axo_group_id=NULL) {
	global $gacl;

	return $gacl->acl_check($aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value, $axo_value, $root_aro_group_id, $root_axo_group_id);
}

function test($text) {
	return $text;
}

$s->service($HTTP_RAW_POST_DATA);
?>