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