Class: WPScan::Finders::WpVersion::Base
- Inherits:
-
Object
- Object
- WPScan::Finders::WpVersion::Base
- Includes:
- CMSScanner::Finders::UniqueFinder
- Defined in:
- app/finders/wp_version.rb
Overview
Wp Version Finder
Instance Method Summary collapse
- #finders ⇒ Object
-
#initialize(target) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(target) ⇒ Base
Returns a new instance of Base.
29 30 31 32 33 34 35 36 |
# File 'app/finders/wp_version.rb', line 29 def initialize(target) (%w[RSSGenerator AtomGenerator RDFGenerator] + DB::DynamicFinders::Wordpress.versions_finders_configs.keys + %w[Readme UniqueFingerprinting] ).each do |finder_name| finders << WpVersion.const_get(finder_name.to_sym).new(target) end end |
Instance Method Details
#finders ⇒ Object
38 39 40 |
# File 'app/finders/wp_version.rb', line 38 def finders @finders ||= Finders::WpVersionFinders.new end |