sslscan
sslscan.cr
Crystal shard wrapping sslscan (v2) utility.
Installation
-
Add the dependency to your
shard.yml
:dependencies: sslscan: github: NeuraLegion/sslscan.cr
-
Run
shards install
Usage
require "sslscan"
report = SSLScan.scan "github.com" # => #<SSLScan::Report ...>
# Browse the already aggregated issues
report.issues.each do |issue|
issue.severity # SSLScan::Issue::Severity
issue.type # String
issue.context # String
end
report.issues.select(&.severity.high?) # => Set{...}
# Or access the test results directly for further inspection
report.test # => #<SSLScan::Test ...>
Contributing
- Fork it (https://github.com/NeuraLegion/sslscan.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Sijawusz Pur Rahnama - creator and maintainer