Sha256: 4d1b1ec832db1f8c860d367789c457308e2f99a3a35d63a82d49354239c49026
Contents?: true
Size: 716 Bytes
Versions: 10
Compression:
Stored size: 716 Bytes
Contents
module WPScan module Controller # Main Theme Controller class MainTheme < CMSScanner::Controller::Base def cli_options [ OptChoice.new( ['--main-theme-detection MODE', 'Use the supplied mode for the Main theme detection, instead of the global (--detection-mode) mode.'], choices: %w[mixed passive aggressive], normalize: :to_sym ) ] end def run output( 'theme', theme: target.main_theme( mode: parsed_options[:main_theme_detection] || parsed_options[:detection_mode] ), verbose: parsed_options[:verbose] ) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems