csp-analyzer
csp-analyzer copied to clipboard
Analyze Content-Security-Policy header of a given URL.
csp-analyzer
Analyze the Content-Security-Policy of a given URL.
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.