Skip to content

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

License

Notifications You must be signed in to change notification settings

gwen001/csp-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.