X1 · exposed-files
Move a settings file out of your public web folder
- What it means
- A file named .env can be downloaded from your site. Files like this usually hold passwords and keys, so anyone who opens the address can read them.
- Evidence
https://example.com/.env found · 214 bytes DB_PASSWORD=••• (values hidden)- Fix
- Delete the file from the public folder, block hidden files in your web server, and change the passwords and keys it held.