常见的搜集

常见的搜集,第1张

《从0到1:CTFer成长之路》课后习题

题目:

前期工作:
下载dirsearch,注意下载路径代码

git clone https://github.com/maurosoria/dirsearch.git

下载依赖?

pip3 install -r requirements.txt

答题:
1,使用dirsearch扫描网站

python3 dirsearch.py -u http://172.18.0.1 -e php,txt,zip

发现

2,加后缀/.index.php.swp进入路径,下载.swp文件,在文件夹中打开终端,输入代码

vim -r 文件名.swp

找到flag3

3,输入后缀/index.php~进入路径,找到flag2

4,输入后缀/robots.txt进入路径,发现


重新输入后缀/flag1_is_her3_fun.txt
找到flag1

整理得flag为n1book{info_1s_v3ry_imp0rtant_hack}

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/939503.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-17
下一篇 2022-05-17

发表评论

登录后才能评论

评论列表(0条)

保存