Sha256: 40caa68d684628b4ec855a2efa6a9f874b7a56bf2ef304b64a29578c4b51d11a
Contents?: true
Size: 677 Bytes
Versions: 9
Compression:
Stored size: 677 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. '], 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
9 entries across 9 versions & 1 rubygems