ruby-sslyze

Code Climate Test Coverage Build Status

Description

A Ruby interface to sslyze python utility.

Features

  • Provides a Ruby interface to sslyze.py.
  • Provides a Parser for consuming the sslyze XML output.
  • sslyze 0.12.x

Examples

Analyze a domain:

require 'sslyze'

SSLyze::Program.analyze(targets: 'twitter.com', regular: true, timeout: 5)

Analyze multiple domains:

SSLyze::Program.analyze(
  targets: ['twitter.com', 'github.com'],
  regular: true,
  timeout: 5
)

Output to XML:

SSLyze::Program.analyze(
  targets: 'twitter.com',
  regular: true,
  timeout: 5,
  xml_out: 'path/to/xml'
)

Parsing sslyze XML output:

xml = SSLyze::XML.open('path/to/xml')

Requirements

Install

$ gem install ruby-sslyze

Copyright (c) 2014 Hal Brodigan

See LICENSE for details.