Skip to content

Instantly share code, notes, and snippets.

@m4ll0k
Created May 29, 2020 18:22
Show Gist options
  • Save m4ll0k/ee4b451c8699e20784e98030ecabf16f to your computer and use it in GitHub Desktop.
Save m4ll0k/ee4b451c8699e20784e98030ecabf16f to your computer and use it in GitHub Desktop.
Find web-archive subdomains
# download webarchive.sh
# bash webarchive.sh example.com
curl -s 'http://web.archive.org/cdx/search/cdx?url=*.$1/*&output=json&collapse=urlkey'|jq ".[][2]"|tr '"' ' '|awk "{print $2}"|tr '://' ' '|awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment