/csp-analyzer

Analyze Content-Security-Policy header of a given URL.

Primary LanguagePythonMIT LicenseMIT

csp-analyzer

Analyze the Content-Security-Policy of a given URL.

python badge MIT license badge twitter badge


Description

This Python tool displays the Content-Security-Policy header of a given URL in a pretty way. The colors show the "severity" of the potential issue.

Install

git clone https://github.com/gwen001/csp-analyzer
cd csp-analyzer
pip3 install -r requirements.txt

Usage

$ python3 csp-analyzer.py <url> [<cookies>]


Feel free to open an issue if you have any problem with the script.