Sha256: 5965de26590ef3f7fd595ea9f50ba2c7dc15602210f93a0fe5ed53dcb995c59c

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 KB

Contents

# 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)
* [Email](mailto:hal at trailofbits.com)

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

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

* [rprogram] ~> 0.3
* [nokogiri] ~> 1.0
* [sslyze] >= 0.12

## Install

    $ gem install ruby-sslyze

## Copyright

Copyright (c) 2014 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/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-sslyze-0.1.1 README.md
ruby-sslyze-0.1.0 README.md