diff --git a/README.md b/README.md index 35f5c0f..8762688 100644 --- a/README.md +++ b/README.md @@ -29,33 +29,33 @@ The following assumes you have Python installed and command `python` refers to ### Usage ``` $ secheaders --help -usage: secheaders [-h] [--max-redirects N] [--no-check-certificate] URL +usage: secheaders [-h] [--max-redirects N] [--insecure] [--verbose] URL Check HTTP security headers positional arguments: - URL Target URL + URL Target URL options: - -h, --help show this help message and exit - --max-redirects N Max redirects, set 0 to disable (default: 2) - --no-check-certificate - Do not verify TLS certificate chain (default: False) + -h, --help show this help message and exit + --max-redirects N Max redirects, set 0 to disable (default: 2) + --insecure Do not verify TLS certificate chain (default: False) + --verbose, -v Verbose output (default: False) ``` ### Example output ``` $ secheaders example.com -Header 'x-frame-options' is missing ... [ WARN ] -Header 'strict-transport-security' is missing ... [ WARN ] -Header 'content-security-policy' is missing ... [ WARN ] -Header 'x-content-type-options' is missing ... [ WARN ] -Header 'x-xss-protection' is missing ... [ OK ] -Header 'referrer-policy' is missing ... [ WARN ] -Header 'permissions-policy' is missing ... [ WARN ] -Header 'server' contains value 'ECAcc (nyd/D187) ... [ WARN ] -HTTPS supported ... [ OK ] -HTTPS valid certificate ... [ OK ] -HTTP -> HTTPS redirect ... [ WARN ] +Header 'x-frame-options' is missing [ WARN ] +Header 'strict-transport-security' is missing [ WARN ] +Header 'content-security-policy' is missing [ WARN ] +Header 'x-content-type-options' is missing [ WARN ] +Header 'x-xss-protection' is missing [ OK ] +Header 'referrer-policy' is missing [ WARN ] +Header 'permissions-policy' is missing [ WARN ] +server: ECAcc (nyd/D124) [ WARN ] +HTTPS supported [ OK ] +HTTPS valid certificate [ OK ] +HTTP -> HTTPS automatic redirect [ WARN ] ```