Sha256: 42b4924ba2aa56ca14a0f09b49155ee598a9a773c0ffc38b1a1fbf5a976f9b16
Contents?: true
Size: 716 Bytes
Versions: 4
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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wpscan-3.0.3 | app/controllers/main_theme.rb |
wpscan-3.0.2 | app/controllers/main_theme.rb |
wpscan-3.0.1 | app/controllers/main_theme.rb |
wpscan-3.0 | app/controllers/main_theme.rb |