CSPTools ### - A set of python-based tools to assist in creating a content security policy for your website.
This project contains some tools to simplify CSP generation.
CSP-Browser - Given some input urls, will attempt to auto-browse through the URIs
CSP-Proxy - mitm proxy to transmit CSP Headers and catch browser-generated CSP reports
CSP-Parser - Parse out proxy logs into a cohesive CSP policy
Requirements
pip install the following requirements:
- mitmproxy
- selenium
- pyvirtualdisplay
Run mitmproxy once, and follow the instructions to add the mitmproxy CA as a trusted authority: http://mitmproxy.org/doc/ssl.html