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.
- Host: GitHub
- URL: https://github.com/trailofbits/ruby-sslyze
- Owner: trailofbits
- License: mit
- Created: 2014-12-11T00:06:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-11T18:27:42.000Z (about 3 years ago)
- Last Synced: 2025-04-22T01:17:59.170Z (about 1 year ago)
- Language: Ruby
- Size: 389 KB
- Stars: 13
- Watchers: 41
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ruby-sslyze
[](https://codeclimate.com/github/trailofbits/ruby-sslyze)
[](https://codeclimate.com/github/trailofbits/ruby-sslyze)
[](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/