Created
January 13, 2020 18:33
-
-
Save chrisdlangton/fd823f49ea330aa11efc6cc25591172a to your computer and use it in GitHub Desktop.
extract subdomains from CSP http response headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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