Skip to content

Instantly share code, notes, and snippets.

@qran253
Created September 3, 2020 07:43
Show Gist options
  • Save qran253/7088c8a4f35632d95c89495737f8eb78 to your computer and use it in GitHub Desktop.
Save qran253/7088c8a4f35632d95c89495737f8eb78 to your computer and use it in GitHub Desktop.
one-liner bash script for gathering domains from hsts preload list
curl -s "https://chromium.googlesource.com/chromium/src/net/+/master/http/transport_security_state_static.json?format=TEXT" | base64 --decode | sed '/^ *\/\// d' | jq -r '.entries[] | .name' | grep twitter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment