forked from webpwnized/mutillidae
-
Notifications
You must be signed in to change notification settings - Fork 1
/
robots-txt.php
executable file
·45 lines (38 loc) · 1.43 KB
/
robots-txt.php
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
<?php
try{
switch ($_SESSION["security-level"]){
case "0": // This code is insecure
case "1": // This code is insecure
break;
case "2":
case "3":
case "4":
case "5": // This code is fairly secure
break;
}//end switch
} catch (Exception $e) {
echo $CustomErrorHandler->FormatError($e, "Error attempting to set up page configuration");
}// end try;
?>
<!-- Bubble hints code -->
<div class="page-title">Robots.txt</div>
<?php include_once (__ROOT__.'/includes/back-button.inc');?>
<?php include_once (__ROOT__.'/includes/hints/hints-menu-wrapper.inc'); ?>
<table style="margin-left:auto; margin-right:auto;width:600px;">
<tr>
<td class="form-header">Robots.txt</td>
</tr>
<tr><td> </td></tr>
<tr>
<td>
Sites use the robot.txt file in the site root to discourage web crawlers from
indexing site content. Robots.txt is a plain text file which can be read by
site visitors. In some cases, the robots.txt file will point to sensitive
pages or directories. If a sensitive file is placed in robots.txt without
proper authorization controls protecting the file, site visitors may discover
the contents and browse to the files. More information is available at
<a href="http://en.wikipedia.org/wiki/Robots_exclusion_standard" target="_blank">Robots Exclusion Standard</a>
</td>
</tr>
<tr><td> </td></tr>
</table>