This file is indexed.

/usr/share/doc/php5-rrd/examples/php5-rrdtool-graph.php is in php5-rrd 1.1.3-1+b1.

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
<?php
$rrdFile = "/tmp/net.rrd";
$imgFile = "/tmp/speed.png";

//graph output
rrd_graph( $imgFile,
 array(
  "--start", "920804400",
  "--end", "920808000",
  "--vertical-label", "m/s",
  "DEF:myspeed=$rrdFile:speed:AVERAGE",
  "CDEF:realspeed=myspeed,1000,*",
  "LINE2:realspeed#FF0000"
 )
);


sleep(3);

$img = file_get_contents( $imgFile );


header("Content-Type: image/png"); 
print $img;

?>