| 对象 | .env、config.php.bak、settings 导出文件 |
|---|---|
| 核查 | 按命名规律探测可达性(授权范围内) |
| 修复 | 配置移出 Web 根目录 + 最小权限 + 部署检查清单 |
检查方式
检查方式
curl -s -o /dev/null -w "%{http_code}\n" https://target.example/.env
curl -s -o /dev/null -w "%{http_code}\n" https://target.example/config/app.ini.bak命中即记录文件类型与状态码;不要下载内容,敏感值一律不回传。