0.01
No release in over 3 years
Low commit activity in last 3 years
A ruby interface to the sslyze python utility
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0

Runtime

~> 1.8
~> 0.3
 Project Readme

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.
  • Supports sslyze >= 1.4.0

Examples

Analyze a domain:

require 'sslyze'

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

Analyze multiple domains:

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

Output to XML:

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

Parsing sslyze XML output:

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

Requirements

Install

$ pip install sslyze
$ gem install ruby-sslyze

Copyright

Copyright (c) 2014-2020 Hal Brodigan

See {file:LICENSE.txt} for details.