
Ein Werkzeug zur Bewertung von Content Security Policies.
cspparse ist ein Tool zur Bewertung von Content Security Policies. Es nutzt die Google-API, um die CSP-Header abzurufen und gibt sie im ReconJSON-Format zurück. Es prüft nicht nur Header mit der Google-API, sondern parst auch das HTML der Zielseite, um nach CSP-Regeln zu suchen, die im <meta>-Tag angegeben sind.
Der Befehl cspparse wird in $GOPATH/bin installiert und der Quellcode (von https://github.com/lc/cspparse) befindet sich in $GOPATH/src/github.com/lc/cspparse mit:
~ ❯ go get -u github.com/lc/cspparse
~ ❯ git clone https://github.com/lc/cspparse
~ ❯ cd cspparse
~ ❯ go build
~ ❯ cspparse <domain / url>
~ ❯ cspparse https://www.facebook.com
~ > docker build -t cspparse .
Ausführen
~ > docker run --rm -t cspparse <domain / url>