pentesting, updated
Review old backup and unreferenced files for sensitive information
Hunt for forgotten backups, editor swap files and unlinked pages that were never meant to stay public.
Goal
Find content the developers forgot to remove: backups, editor artifacts, old versions of pages.
How to test
Fuzz common backup/editor patterns against known paths:
ffuf -c -w paths.txt -u https://example.com/FUZZ.bak
ffuf -c -w paths.txt -u https://example.com/FUZZ~ # editor backup
ffuf -c -w paths.txt -u https://example.com/.FUZZ.swp # vim swap file
Also check for leads already gathered: commented-out links in source, paths referenced in JavaScript, and disallowed entries in robots.txt.
What to look for
Readable backups of config or source files, .git/ or .svn/ directories left in the webroot, and zipped site dumps.
Notes
A leftover .git/ directory is often a full source and history disclosure — check for it directly: curl -s https://example.com/.git/HEAD.
References
- OWASP WSTG-CONF-04 — Review Old Backup and Unreferenced Files for Sensitive Information.