Skip to content

Instantly share code, notes, and snippets.

@chrisdlangton
Created January 13, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdlangton/fd823f49ea330aa11efc6cc25591172a to your computer and use it in GitHub Desktop.
Save chrisdlangton/fd823f49ea330aa11efc6cc25591172a to your computer and use it in GitHub Desktop.
extract subdomains from CSP http response headers
curl -s -I -L “https://$1" | grep -Ei ‘^Content-Security-Policy:’ | sed “s/;/;\\n/g”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment