Skip to main content

Framework and command-line tool to scan SSL enabled services

Project description

pySSLScan is a framework to scan SSL enabled services, in order to determine the supported ciphers, preferred ciphers, certificate information and more. It is designed to be flexible, lean and fast.

It can be used as a library in other software projects and provides a command-line tool to get started.

You can find more information in the documentation.

Features

  • Query SSL services

  • Supported cryptographic protocols: SSLv2, SSLv3, TLS 1.0, TLS 1.1 and TLS 1.2

  • Supported Protocols: TCP, HTTP, IMAP, POP3 and SMTP

  • IPv4 and IPv6

  • Scan modules:

    • Supported ciphers

    • Ciphers preferred

    • Supported compression methods

    • Server certificate (requires pyOpenSSL)

    • Test renegotiation (requires pyOpenSSL)

    • Detect vulnerabilities

      • Heartbleed

    • Extract server information: HTTP, IMAP, POP3 and SMTP

  • Rule based result highlighting

  • Output formats:

    • text/terminal

Install

Requirements:

  • Python 2.7 or Python >= 3.2

  • Python packages:

    • flextls >= 0.2

    • six >= 1.4.1

  • Python packages(optional):

    • cryptography >= 0.5

    • pyOpenSSL >= 0.14

Install:

At the time of writing pySSLScan requires the development version of the cryptography packages. Use the source directly from the git repository. https://github.com/pyca/cryptography

$ pip install sslscan

Usage

To scan a HTTPS service:

$ pysslscan scan --scan=protocol.http --scan=vuln.heartbleed --scan=server.renegotiation \
  --scan=server.preferred_ciphers --scan=server.ciphers \
  --report=term:rating=ssllabs.2009e --ssl2 --ssl3 --tls10 --tls11 --tls12 http://example.org

To display more information:

$ pysslscan --help

License

Published under the LGPLv3+ (see LICENSE for more information)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sslscan-0.4.tar.gz (22.7 kB view details)

Uploaded Source

File details

Details for the file sslscan-0.4.tar.gz.

File metadata

  • Download URL: sslscan-0.4.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sslscan-0.4.tar.gz
Algorithm Hash digest
SHA256 b306b19442ba2865c90b97176c4f3cbafe39a14ed17a3b134df832fb54417ca4
MD5 4a9ada8f037b58fed537192d141ff7b3
BLAKE2b-256 fb82cb9e9c82f90e5422a7006f85047fea439a34c388a6e557d023dc24ba1e14

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page