首先使用burp进行抓包
<!--
$user = $_GET["txt"];
$file = $_GET["file"];
$pass = $_GET["password"];
if(isset($user)&&(file_get_contents($user,'r')==="welcome to the bugkuctf")){
echo "hello admin!<br>";
include($file); //hint.php
}else{
echo "you are not admin ! ";
}
-->
可以看到源代码我大概的说一下其中的含义
1.三个传参
2.$user存在且不为空
3.读取$user文件内容为welcome to the bugkuctf
4.$file要求为hint.php将其导入