/usr/share/amule/webserver/default/log.php is in amule-common 2.4.0~git20151120.0023527bc2-1ubuntu1.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>amule log page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragmas" content="no-cache">
<?php
if ( $_SESSION["auto_refresh"] > 0 ) {
echo "<meta http-equiv=\"refresh\" content=\"", $_SESSION["auto_refresh"], '">';
}
?>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #FFFFFF;
font-size: small;
font-family: Fixed;
color: #000000;
}
-->
</style>
</head>
<body>
<code><pre>
<?php
if ("srv" == $HTTP_GET_VARS['show'] || 1 == $HTTP_GET_VARS['rstsrv']) {
echo amule_get_serverinfo($HTTP_GET_VARS['rstsrv']);
}else {
echo amule_get_log($HTTP_GET_VARS['rstlog']);
}
?>
</pre></code>
</body>
</html>
|