cspparse is a instrument to guage Content material Safety Insurance policies. It makes use of Google’s API to retrieve the CSP Headers and returns them in ReconJSON format. Not solely does it verify for headers with Google’s API, it additionally parses the goal web site’s HTML to search for any CSP guidelines which are specified within the <meta>
tag
Set up
Set up Command and Obtain Supply With Go Get
cspparse
command might be put in to $GOPATH/bin
and the supply code (from https://github.com/lc/cspparse
) might be present in $GOPATH/src/github.com/lc/cspparse
with:
~ ❯ go get -u github.com/lc/cspparse
Set up from Supply
~ ❯ git clone https://github.com/lc/cspparse
~ ❯ cd cspparse
~ ❯ go construct
Utilization
~ ❯ cspparse <area / url>
Instance
~ ❯ cspparse https://www.fb.com
Docker
~ > docker construct -t cspparse .
Run
~ > docker run --rm -t cspparse <area / url>