我正在对托管在 Ubuntu 环境中的应用程序执行渗透测试。
所以使用路径遍历漏洞,我可以下载任何文件。
API Web 应用程序以 root 身份运行(shadow 和 brute-force 已经是我的朋友了)。有趣的情况:我找不到网络根文件夹。
我试过的:
- 搜索可以引导我找到路径的日志。nginx 或 apache2 不存在。
- 搜索nginx、apache2或其他配置文件
- 搜索 Web 根目录的公共目录 ( https://serverfault.com/questions/144598/where-should-the-web-server-root-directory-go-in-linux )
- 所有用户的 Bash 历史记录
我还应该尝试什么?