A Ruby interface to sslyze python utility.
- Provides a Ruby interface to
sslyze.py
. - Provides a Parser for consuming the sslyze XML output.
- Supports sslyze >= 1.4.0
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')
$ pip install sslyze
$ gem install ruby-sslyze
Copyright (c) 2014-2020 Hal Brodigan
See {file:LICENSE.txt} for details.