[go: up one dir, main page]

Skip to content

trailofbits/ruby-sslyze

Repository files navigation

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.

About

A Ruby interface to sslyze python utility.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages