An open API service indexing awesome lists of open source software.

https://github.com/trailofbits/ruby-sslyze

A Ruby interface to sslyze python utility.
https://github.com/trailofbits/ruby-sslyze

Last synced: 4 months ago
JSON representation

A Ruby interface to sslyze python utility.

Awesome Lists containing this project

README

          

# ruby-sslyze

[![Code Climate](https://codeclimate.com/github/trailofbits/ruby-sslyze/badges/gpa.svg)](https://codeclimate.com/github/trailofbits/ruby-sslyze)
[![Test Coverage](https://codeclimate.com/github/trailofbits/ruby-sslyze/badges/coverage.svg)](https://codeclimate.com/github/trailofbits/ruby-sslyze)
[![Build Status](https://travis-ci.org/trailofbits/ruby-sslyze.svg)](https://travis-ci.org/trailofbits/ruby-sslyze)

* [Homepage](https://github.com/trailofbits/ruby-sslyze#readme)
* [Issues](https://github.com/trailofbits/ruby-sslyze/issues)
* [Documentation](http://rubydoc.info/gems/ruby-sslyze/frames)

## 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

* [rprogram] ~> 0.3
* [nokogiri] ~> 1.8
* [sslyze] >= 1.4.0

## Install

$ pip install sslyze
$ gem install ruby-sslyze

## Copyright

Copyright (c) 2014-2020 Hal Brodigan

See {file:LICENSE.txt} for details.

[sslyze]: https://github.com/nabla-c0d3/sslyze#readme

[rpgoram]: https://github.com/postmodern/rprogram#readme
[nokogiri]: http://www.nokogiri.org/