This file is indexed.

/usr/share/xcache/htdocs/cacher/sub/entrylist.tpl.php is in php5-xcache 3.2.0-1.

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
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php $cycleClass = new Cycle('class="col1"', 'class="col2"'); ?>
<form action="" method="post">
	<table cellspacing="0" cellpadding="4" class="cycles entries">
		<caption><?php echo $caption; ?></caption>
<?php

echo <<<TR
		<tr>

TR;

if ($isphp) {
	echo
		th(N_("entry.id"))
		;
}
else {
	echo
		th(N_("entry.remove"))
		;
}

echo
	th(N_("entry.name"))
	, th(N_("entry.hits"))
	, th(N_("entry.size"))
	;

if ($isphp) {
	echo
		th(N_("entry.refcount"))
		, th(N_("entry.phprefcount"))
		, th(N_("entry.class_cnt"))
		, th(N_("entry.function_cnt"))
		, th(N_("entry.file_size"))
		, th(N_("entry.file_mtime"))
		;
	echo
		th(N_("entry.file_device"))
		, th(N_("entry.file_inode"))
		;
}
echo
	th(N_("entry.hash"))
	, th(N_("entry.atime"))
	, th(N_("entry.ctime"))
	;

if ($listName == 'Deleted') {
	echo
		th(N_("entry.delete"))
		;
}
?>
		</tr>
<?php
foreach ($entries as $i => $entry) {
	$class = $cycleClass->next();
	echo <<<TR
		<tr $class>

TR;
	$hits     = number_format($entry['hits']);
	$size     = size($entry['size']);
	if ($isphp) {
		$class_cnt    = number_format($entry['class_cnt']);
		$function_cnt = number_format($entry['function_cnt']);
		$phprefcount  = number_format($entry['phprefcount']);
		$file_size    = size($entry['file_size']);
	}

	if ($isphp) {
		$file_mtime = age($entry['file_mtime']);
	}
	$ctime = age($entry['ctime']);
	$atime = age($entry['atime']);
	if ($listName == 'Deleted') {
		$dtime = age($entry['dtime']);
	}

	if ($isphp) {
		$hname = htmlspecialchars($entry['name']);
		$namelink = $hname;
		echo <<<ENTRY
			<td>{$entry['cache_name']} {$i}</td>

ENTRY;
	}
	else {
		$name = $entry['name'];
		if (!empty($config['enable_eval'])) {
			$name = var_export($name, true);
		}
		$uname = urlencode($name);
		$hname = htmlspecialchars(str_replace("\0", "\\0", $entry['name']));
		echo <<<ENTRY
			<td><label><input type="checkbox" name="remove[]" value="{$hname}"/>{$entry['cache_name']} {$i}</label></td>

ENTRY;
		$namelink = "<a href=\"edit.php?name=$uname\">$hname</a>";
	}

	echo <<<ENTRY
			<td>{$namelink}</td>
			<td align="right" int="{$entry['hits']}">{$entry['hits']}</td>
			<td align="right" int="{$entry['size']}">{$size}</td>

ENTRY;
	if ($isphp) {
		$refcount = number_format($entry['refcount']);
		echo <<<ENTRY
			<td align="right" int="{$entry['refcount']}">{$entry['refcount']}</td>
			<td align="right" int="{$entry['phprefcount']}">{$phprefcount}</td>
			<td align="right" int="{$entry['class_cnt']}">{$class_cnt}</td>
			<td align="right" int="{$entry['function_cnt']}">{$function_cnt}</td>
			<td align="right" int="{$entry['file_size']}">{$file_size}</td>
			<td align="right" int="{$entry['file_mtime']}">{$file_mtime}</td>

ENTRY;
		if (isset($entry['file_inode'])) {
			echo <<<ENTRY
			<td align="right" int="{$entry['file_device']}">{$entry['file_device']}</td>
			<td align="right" int="{$entry['file_inode']}">{$entry['file_inode']}</td>

ENTRY;
		}
	}
	echo <<<ENTRY
			<td align="right" int="{$entry['hvalue']}">{$entry['hvalue']}</td>
			<td align="right" int="{$entry['atime']}">{$atime}</td>
			<td align="right" int="{$entry['ctime']}">{$ctime}</td>

ENTRY;
	if ($listName == 'Deleted') {
		echo <<<ENTRY
			<td align="right" int="{$entry['dtime']}">{$dtime}</td>

ENTRY;
	}

	echo <<<TR
		</tr>

TR;
}
?>
	</table>
<?php if (!$isphp && $listName != 'Deleted') { ?>
	<input type="submit" value="<?php echo _T("Remove Selected"); ?>">
<?php } ?>
</form>
<?php
unset($cycleClass);
?>