Skip to main content

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

    • DTLS 1.0 and DTLS 1.2

  • Supported Protocols:

    • TCP, HTTP, IMAP, POP3, SMTP, LDAP and RDP

    • UDP

  • IPv4 and IPv6

  • Scan modules:

    • Supported ciphers

    • Ciphers preferred

    • Supported compression methods

    • Supported elliptic curves

    • Test support for Signaling Cipher Suite Value (SCSV)

    • Extract EC Point Formats

    • 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.3

    • 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)

Release files for sslscan 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sslscan 0.5.1
File Size Uploaded
sslscan-0.5.1.tar.gz 26.0 kB Details

Release files / sslscan-0.5.1.tar.gz

Download URL sslscan-0.5.1.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
491f41edd727b45c8c02356c9a6d30cde2510689c5a22e0109f04a1be962a6a7
BLAKE2b-256 checksum
How to use checksums
efe5d297bf2c485b41a533953a84e7a1a835312e5226dc7746ff35a3aebc98e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.1 This release

1 release file

0.5

1 release file

0.4

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page