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

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

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