Sha256: 3a153e657a224155839692935796a1e821156c1bd5885f1d191f51d6c26726d8
Contents?: true
Size: 717 Bytes
Versions: 47
Compression:
Stored size: 717 Bytes
Contents
# frozen_string_literal: true 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, advanced: true ) ] end def run mode = NS::ParsedCli.interesting_findings_detection || NS::ParsedCli.detection_mode findings = target.interesting_findings(mode: mode) output('findings', findings: findings) unless findings.empty? end end end end
Version data entries
47 entries across 47 versions & 3 rubygems