Sha256: 04add871fbcbfeada954fe7fdd463287714ce9aa127eecdcb377aff8fa912381
Contents?: true
Size: 741 Bytes
Versions: 13
Compression:
Stored size: 741 Bytes
Contents
module CMSScanner module Controller # InterestingFindings Controller class InterestingFindings < Base def cli_options [ OptChoice.new( ['--interesting-findings-detection MODE', 'Use the supplied mode for the interesting findings detection. ' \ 'Modes: mixed, passive, aggressive' ], choices: %w(mixed passive aggressive), normalize: :to_sym) ] end def run mode = parsed_options[:interesting_findings_detection] || parsed_options[:detection_mode] findings = target.interesting_findings(mode: mode) output('findings', findings: findings) unless findings.empty? end end end end
Version data entries
13 entries across 13 versions & 1 rubygems