first commit
This commit is contained in:
parent
985a5c928c
commit
f40a84879c
551 changed files with 72374 additions and 24 deletions
13
dvwa/vulnerabilities/fi/source/high.php
Normal file
13
dvwa/vulnerabilities/fi/source/high.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
// The page we wish to display
|
||||
$file = $_GET[ 'page' ];
|
||||
|
||||
// Input validation
|
||||
if( !fnmatch( "file*", $file ) && $file != "include.php" ) {
|
||||
// This isn't the page we want!
|
||||
echo "ERROR: File not found!";
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue