root@thehacksparrow:~/writeups$ SYSTEM ONLINE
root@sparrow:~/writeups$ cat wayback-machine.md
// tools

Wayback Machine

22 Jul 2026 · 2 min read

What it is — archive.org's Wayback Machine stores historical snapshots of web pages over time. Beyond manually browsing snapshots, its CDX API lets you list every archived URL for a domain — including paths that no longer exist on the live site.

TypeWeb archive + API
CostFree, no signup
URLweb.archive.org

How to use it

View the snapshot history of a specific URL:

https://web.archive.org/web/*/target.com/*

List EVERY archived URL for an entire domain via the CDX API (much more powerful for recon):

curl -s "http://web.archive.org/cdx/search/cdx?url=target.com/*&output=text&fl=original&collapse=urlkey" | sort -u

Why it's useful: this list includes paths from old versions of the site — API endpoints that are no longer documented, JS files revealing parameter names or internal routes, admin panels that were retired but whose code is still deployed, .zip/.bak backups someone once uploaded by mistake.

What I use it for

  • Discovering forgotten endpoints: combined with grep, I filter the CDX API output by extension (.php, .json, .env) or keyword (admin, api, backup, test) to find paths that aren't linked anywhere anymore but are sometimes still live.
  • Reading old JS source code: earlier versions of a JavaScript file sometimes expose comments, hardcoded keys, or endpoints that were cleaned up in the current version.
  • Understanding how a site evolved over time: useful for identifying technologies or frameworks used previously that might still linger in less-maintained parts of the site.

Link

web.archive.org →