Code Monkey home page Code Monkey logo

pysslscan's Introduction

pySSLScan

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

Install Terminal(Stable, since 0.6):

Install pySSLScan and all dependencies to optimize terminal usage.

$ pip install 'sslscan[terminal]'

Install Terminal(Development):

$ pip install -e '.[terminal]'

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)

pysslscan's People

Contributors

archstacker avatar dbaxa avatar hph86 avatar phibos avatar sctf2020 avatar tyll avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.