domains-from-csp
domains-from-csp copied to clipboard
A script to extract domain names from Content Security Policy(CSP) headers
error
root@kali:~/tools/Recon/domains-from-csp# python csp_parser.py -u https://go.com --resolve Traceback (most recent call last): File "csp_parser.py", line 4, in import click ImportError: No module named click
Line 64-65 in csp_parser.py: elif 'content-security-policy-report-only' in r.headers: csp_header = r.headers["content-security-policy-report-only:"] There is no key " content-security-policy-report-only: " - need to delete " : " in the end, then everything...
python csp_parser.py -u https://hackerone.com -r Traceback (most recent call last): File "csp_parser.py", line 129, in main() File "/usr/lib/python2.7/dist-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/click/core.py", line 697, in...