Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.44 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.44 KB

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.