Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 269 Bytes

csp-header.md

File metadata and controls

5 lines (4 loc) · 269 Bytes
curl -v -silent https://$1 --stderr - | awk '/^content-security-policy:/' | grep -Eo "[a-zA-Z0-9./?=_-]*" |  sed -e '/\./!d' -e '/[^A-Za-z0-9._-]/d' -e 's/^\.//' | sort -u

CC: Geeknik’s Farm @geeknik