2. Historical Discovery
2. Review archived application versions¶
- [ ] Look at old snapshots of the site Website: Wayback Machine — enter the domain and browse snapshots by date.
List all archived snapshots:
curl -s "http://web.archive.org/cdx/search/cdx?url=onetec.com*&output=text&fl=original&collapse=urlkey" | sort -u
3. Identify historical parameters¶
- [ ] Find URL parameters used before (potential injection points)
Dedicated tool:
4. Identify deprecated endpoints¶
- [ ] Hunt for old paths that may still work
Check which still respond:
5. Search for old API endpoints¶
- [ ] Find API routes from the archives
6. Look for exposed backup files¶
- [ ] Search for backup and config files left on the server Filter the archive list:
Brute-force common ones:
7. Review historical JavaScript files¶
- [ ] Old JS files often leak API keys, endpoints, and secrets Pull JS files from the archive:
Scan them for exposures:
Extract links from each JS file:
cat jsfiles.txt | while read url; do echo $url; curl -s $url | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*"; done