Class: WPScan::Finders::DynamicFinder::Version::Comment
- Inherits:
-
Xpath
- Object
- CMSScanner::Finders::Finder
- Finder
- Finder
- Xpath
- WPScan::Finders::DynamicFinder::Version::Comment
- Defined in:
- lib/wpscan/finders/dynamic_finder/version/comment.rb
Overview
Version finder in Comment, which is basically an Xpath one with a default Xpath of //comment()
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from Xpath
Methods inherited from Finder
#aggressive, child_class_constant, create_child_class, #find, #passive
Class Method Details
.child_class_constants ⇒ Hash
11 12 13 |
# File 'lib/wpscan/finders/dynamic_finder/version/comment.rb', line 11 def self.child_class_constants @child_class_constants ||= super().merge(PATTERN: nil, XPATH: '//comment()') end |