Skip to content

Commit 293c89e

Browse files
committed
*sigh*
1 parent 7ed703b commit 293c89e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cached.php

+11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
<?php
2+
/*
3+
Yes, we know this can be used to view the source for any file
4+
in the docroot directory. This is intentional and not an LFI
5+
vulnerability. The source code for everything in the docroot
6+
is publicly available at
7+
8+
https://github.com/php/web-php
9+
10+
so there is no vulnerability here. You can't use this to view
11+
anything that is private.
12+
*/
213
$_SERVER['BASE_PAGE'] = 'cached.php';
314
include_once 'include/prepend.inc';
415

0 commit comments

Comments
 (0)