
CSP(Content Security Policy) 헤더에서 도메인 이름을 추출하는 스크립트
CSP 헤더에서 도메인 이름을 파싱하는 Python 스크립트

$ git clone [email protected]:yamakira/censys-enumeration.git
$ pipenv install
$ python csp_parser.py --help
2 ↵
Usage: csp_parser.py [OPTIONS] URL
Options:
-r, --resolve / --no-resolve Enable/Disable DNS resolution
--help Show this message and exit.
$ python csp_parser.py target_url
$ python csp_parser.py target_url --resolve
$ python csp_parser.py target_url -r