Bugku–source
查看git提交历史获取flag
题目:https://ctf.bugku.com/challenges/detail/id/168.html

启动后访问:

查看网页源代码:

提交显示flag错误。
目录扫描:

可以推测是git泄露,同时查看/flag.txt内容,发现是假flag。
使用wget下载.git目录:
wget http://117.72.52.127:15712/.git/

查看git提交记录:
git reflog

逐一查看,在40c6d51找到flag:
git show 40c6d51

flag{git_is_good_distributed_version_control_system}
3498

被折叠的 条评论
为什么被折叠?



