Sha256: 648f0272677be9f34849bc73a5c8ffd446dbe08b08d2ecde2c421cef4bab5a95
Contents?: true
Size: 688 Bytes
Versions: 6
Compression:
Stored size: 688 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
6 entries across 6 versions & 1 rubygems