buu-[CISCN2019 总决赛 Day2 Web1]Easyweb

扫!(或者靠经验先试)
/robots.txt
在这里插入图片描述
看源码发现已知的php只有user.php/image.php/index.php

然后在image.php.bak里找到源码


include "config.php";

$id=isset($_GET["id"])?$_GET["id"]:"1";
$path=isset($_GET["path"])?$_GET["path"]:"";

$id=addslashes($id);

你可能感兴趣的:(buuctf-web,php,sql)