sslscan.cr v1.0.0
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
Repository
sslscan.cr
Owner
Statistic
- 10
- 0
- 0
- 0
- 2
- about 3 years ago
- September 24, 2020
License
MIT License
Links
Synced at
Sat, 16 Nov 2024 17:40:16 GMT
Languages