Skip to content

Instantly share code, notes, and snippets.

@vncloudsco vncloudsco/fun.php Secret
Created Dec 12, 2019

Embed
What would you like to do?
$whitelist = array('index.html', 'downloads.html', 'info.html');
$page = $_GET['page'];
if(in_array($page,$whitelist)){
include($page);
}else{
die("Attack attempt");
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.