Skip to content

Instantly share code, notes, and snippets.

@gabrielbarros
Forked from mathiasbynens/get-hsts-preload-list.sh
Last active March 7, 2024 16:53
Show Gist options
  • Save gabrielbarros/407cb9be386223856353bfe666e15cf2 to your computer and use it in GitHub Desktop.
Save gabrielbarros/407cb9be386223856353bfe666e15cf2 to your computer and use it in GitHub Desktop.
HSTS list
#!/usr/bin/env bash
url='https://chromium.googlesource.com/chromium/src/net/+/main/http/transport_security_state_static.json?format=TEXT'
wget -O - "$url" | base64 -d | sed '/^ *\/\// d;/^\s*$/d' > hsts.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment