securityheaders is a CLI application to analyze the Security Headers of a given URL using securityheaders.io
Install in python 3 environment:
pip3 install securityheaders
Note: you might need root privileges or use --user
switch
Usage: securityheaders [OPTIONS] URL
Get Security Headers from a given URL. The data is fetched from
SecurityHeaders.io.
Options:
--version Show the version and exit.
--json Print the Security Headers analysis as JSON
--help Show this message and exit.
Thanks to SecurityHeaders.io for their awesome service!