Class: WPScan::Finders::DynamicFinder::WpVersion::QueryParameter

Inherits:
Version::QueryParameter show all
Includes:
Finder
Defined in:
lib/wpscan/finders/dynamic_finder/wp_version.rb

Direct Known Subclasses

WpItemQueryParameter

Constant Summary

Constants inherited from Finder

Finder::DIRECT_ACCESS

Instance Attribute Summary

Attributes inherited from Finder

#progress_bar, #target

Class Method Summary collapse

Methods included from Finder

#create_version

Methods inherited from Version::QueryParameter

#find, #path_pattern, #scan_response, #xpath

Methods inherited from Finder

#aggressive, child_class_constant, create_child_class, #find, #passive

Methods inherited from Finder

#aggressive, #browser, #create_progress_bar, #found_by, #hydra, #initialize, #passive, #titleize

Constructor Details

This class inherits a constructor from WPScan::Finders::Finder

Class Method Details

.child_class_constantsHash

Returns:

  • (Hash)


35
36
37
# File 'lib/wpscan/finders/dynamic_finder/wp_version.rb', line 35

def self.child_class_constants
  @child_class_constants ||= super.merge(PATTERN: /ver=(?<v>\d+\.[.\d]+)/i)
end