[网鼎杯 2020 半决赛]AliceWebsite
打开之前发现了提示
下载hint.zip,发现了index.php
<?php
$action = (isset($_GET['action']) ? $_GET['action'] : 'home.php');
if (file_exists($action)) {
include $action;
} else {
echo "File not found!";
}
?>
这里要用get传值,传action,当文件存在的时候,就会显示文件,文件不存在就输出“File not found!”,进入页面看一下
点击About Me会跳转到about界面,页面以及url都会发生变化
根据提示我们直接尝试读取flag:/index.php?action=/flag
至此结束,撒花