Santandersecurityresearch/DrHeader

drHeader cli --verify=false

hector-js opened this issue · 1 comments

  • drHEADer version: 1.3.1-py3.7
  • Python version: python 3.7
  • Operating System: macOS

Description

I expect to get a result when I avoid tls certification via cli

What I Did

I am trying to avoid ssl verification in order to avoid the following error:

drheader scan single https://my-url.org --debug
    DEBUG:root:Validating: https://my-url.org 
    DEBUG:root:Querying headers...
    DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): my-url.org :888
    Error: HTTPSConnectionPool(host='my-url.org', port=888): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))

When I add the param verify=false which should disable tls verification, I am getting the following error:

drheader scan single https://my-url.org  --verify=false
    Usage: drheader scan single [OPTIONS] TARGET_URL
    Try 'drheader scan single --help' for help.

    Error: no such option: --verify

Closed by #132