[目标]
掌握有关备份文件的知识
常见的备份文件后缀名有: .git .svn .swp .svn .~ .bak .bash_history
[环境]
Ubuntu1904
[工具]
扫目录脚本dirsearch(项目地址:https://github.com/maurosoria/dirsearch)
[步骤]
1.可以手动猜测,也可以使用扫目录脚本/软件,扫一下,这里使用的是github上的脚本dirsearch,命令行下:
python3 dirsearch.py -u http://10.10.10.175:32770 -e *
运行结果如下:
从中我们可以看到有一个备份文件index.php.bak
因此我们在地址栏输入地址111.198.29.45:38562/index.php.bak
即可得到flag。