Sha256: 49b7f3e0880acc32eab10c4e686d8a952dd151f79dc9f63644968d2fa710e026

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

require 'rprogram/task'

module SSLyze
  #
  # Represents options for {Program}.
  #
  class Task < RProgram::Task

    # Options:
    long_option flag: '--version'
    long_option flag: '--help'
    long_option flag: '--xml_out'
    long_option flag: '--targets_in'
    long_option flag: '--timeout'
    long_option flag: '--nb_retries'
    long_option flag: '--https_tunnel'
    long_option flag: '--starttls'
    long_option flag: '--xmpp_to'
    long_option flag: '--sni'
    long_option flag: '--regular'

    # Client certificate support:
    long_option flag: '--cert'
    long_option flag: '--certfrom'
    long_option flag: '--key'
    long_option flag: '--keyfrom'
    long_option flag: '--pass'

    # PluginHeartbleed:
    long_option flag: '--heartbleed'

    # PluginOpenSSLCipherSuites:
    #   Scans the server(s) for supported OpenSSL cipher suites.
    long_option flag: '--sslv2'
    long_option flag: '--sslv3'
    long_option flag: '--tlsv1'
    long_option flag: '--tlsv1_1'
    long_option flag: '--tlsv1_2'
    long_option flag: '--http_get'
    long_option flag: '--hide_rejected_ciphers'

    # PluginSessionRenegotiation:
    long_option flag: '--reneg'

    # PluginCertInfo:
    long_option flag: '--certinfo'

    # PluginHSTS:
    long_option flag: '--hsts'

    # PluginSessionResumption:
    #   Analyzes the target server's SSL session resumption capabilities.
    long_option flag: '--resum'
    long_option flag: '--resum_rate'

    # PluginChromeSha1Deprecation:
    long_option flag: '--chrome_sha1'

    # PluginCompression:
    long_option flag: '--compression'

    non_option name: :targets, tailing: true

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-sslyze-0.2.1 lib/sslyze/task.rb
ruby-sslyze-0.2.0 lib/sslyze/task.rb
ruby-sslyze-0.1.1 lib/sslyze/task.rb
ruby-sslyze-0.1.0 lib/sslyze/task.rb