This file is indexed.

/usr/share/arc/ldap-monitor/mon-icons/icon_led.php is in nordugrid-arc-ldap-monitor 1.1.1-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
<?php
 
// Author: oxana.smirnova@hep.lu.se

/**
 * @return void
 * @param cr int
 * @param cg int
 * @param cb int
 * @desc Plots a led image of a given RGB color (PNG) 
 */
function do_led($cr=200, $cg=200, $cb=200)
{
   header ("Content-type: image/png");
   $im        = imagecreate(14,6);
   $colorBody = imagecolorallocate($im,$cr,$cg,$cb);
   imagepng ($im);
   ImageDestroy($im);
}

$c1 = $_GET["c1"];
$c2 = $_GET["c2"];
$c3 = $_GET["c3"];
do_led($c1,$c2,$c3);

?>