
Uno strumento per valutare le Content Security Policies.
cspparse è uno strumento per valutare le Content Security Policies. Utilizza l'API di Google per recuperare gli header CSP e li restituisce in formato ReconJSON. Non solo controlla gli header tramite l'API di Google, ma analizza anche l'HTML del sito target per cercare eventuali regole CSP specificate nel tag <meta>
Il comando cspparse verrà installato in $GOPATH/bin e il codice sorgente (da https://github.com/lc/cspparse) si troverà in $GOPATH/src/github.com/lc/cspparse con:
~ ❯ go get -u github.com/lc/cspparse
~ ❯ git clone https://github.com/lc/cspparse
~ ❯ cd cspparse
~ ❯ go build
~ ❯ cspparse <dominio / url>
~ ❯ cspparse https://www.facebook.com
~ > docker build -t cspparse .
Esegui
~ > docker run --rm -t cspparse <dominio / url>