This file is indexed.

/usr/share/moodle/mod/assignment/type/wims/closing.php is in wims-moodle 4.0-18.

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
<?
$closemsg=$_GET['msg'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xml:lang="fr"
    lang="fr"
    dir="ltr">
<script type="text/javascript" language="javascript">
// <![CDATA[
function dispData(){
  window.document.getElementById("text").innerHTML='<form><input type="button" value="<? print($closemsg); ?>" onclick="window.parent.close()"></form>';
}
// ]]>
</script>
<head>
<meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1" />
</head>
<body onLoad="dispData()">
<div id="text"></div>
</body>
</html>