class X509Sleuth::Cli
Public Class Methods
exit_on_failure?()
click to toggle source
# File lib/x509_sleuth/cli.rb, line 6 def self.exit_on_failure? true end
Public Instance Methods
my_client()
click to toggle source
# File lib/x509_sleuth/cli.rb, line 23 def my_client @client ||= X509Sleuth::Scanner.new @client end
scan()
click to toggle source
# File lib/x509_sleuth/cli.rb, line 13 def scan options[:target].each do |target| my_client.add_target(target) end my_client.run output = X509Sleuth::ScannerPresenter.new(my_client) puts output.to_s end