Skip to content
Pwnversity
RECON-WAYBACKbasic · 4 min · upd. 2026-10

Historical Archives (Wayback)

T1593

The Internet doesn’t forget: the Wayback Machine and other archives keep old versions of websites. For an attacker, that’s a goldmine: endpoints no longer linked but still working, old vulnerable parameters, files that were “removed” but not deleted, secrets in previous code versions, and subdomains/technologies the company no longer uses but left exposed. A site’s past reveals surface its present hides.

  • Historical URLs and endpoints: paths, parameters, and APIs no longer linked.
  • Old parameters: fuzzing candidates; many are still active and vulnerable.
  • Removed files: backups, documents, and configs pulled from the index but not from the server.
  • Technology changes: what they used before (old versions still reachable).
  • Deleted content: text, emails, or names the company removed.
  • Wayback Machine (archive.org) — the main historical archive.
  • archive.today / archive.ph — on-demand point-in-time snapshots.
  • Common Crawl — massive web-crawl corpus.
  • Google/Bing cache — no longer available: both retired public cached pages and the cache: operator in 2024; use the archives above.

These tools dump every URL the archives know for a domain:

Ventana de terminal
gau target.com | sort -u > urls.txt # Wayback + Common Crawl + others
waymore -i target.com -mode U # more exhaustive (adds URLScan, VT)
waybackurls target.com # classic
# direct Wayback API (CDX)
curl -s "http://web.archive.org/cdx/search/cdx?url=target.com*&output=text&fl=original&collapse=urlkey"

The value lies in filtering the useful URLs and checking which are still live today:

Ventana de terminal
grep "=" urls.txt | sort -u # ones with parameters (fuzzing/IDOR/SQLi/XSS)
grep -oE '[?&][a-zA-Z0-9_]+=' urls.txt | sort -u # parameter names only
httpx -l urls.txt -mc 200,301,302,403 -silent # which respond today
grep -iE '\.(bak|sql|zip|env|config|log|json)$' urls.txt # juicy files

Live URLs with parameters are direct targets for the Web section tests (SQLi, XSS, IDOR, open redirect).

To recover a specific file from a date (old JavaScript with endpoints or keys no longer in the current version), query the snapshot by URL with a date wildcard: https://web.archive.org/web/2021*/target.com/config.js.

  • Collecting thousands of URLs and not filtering them: without grep "=" and httpx you prioritize nothing.
  • Assuming a historical URL is still live without checking (many return 404 today).
  • Ignoring old JavaScript, which often preserves endpoints and sometimes removed secrets.
  • Looking only at Wayback and skipping Common Crawl or archive.today, which have different coverage.

You can’t erase the archive’s past, but you can: rotate any secret that was ever in a public version, truly remove (not just unlink) sensitive resources from the server, disable old endpoints and parameters, and assume that everything you ever published is still reachable to anyone who looks.

  • Extract historical URLs (gau / waymore / waybackurls).
  • Filter URLs with parameters (fuzzing candidates).
  • Check which are still live (httpx).
  • Look for removed files (bak / sql / env / config).
  • Recover old JS with endpoints or secrets.
  • Detect abandoned technologies or subdomains.
  • Feed the Web tests with the live endpoints.
  • Review archive.today for point-in-time snapshots.