Class: WPScan::DB::DynamicFinders::Theme

Inherits:
Plugin show all
Defined in:
lib/wpscan/db/dynamic_finders/theme.rb

Constant Summary

Constants inherited from WpItem

WpItem::CHANGELOGS, WpItem::READMES

Instance Attribute Summary

Attributes inherited from WpItem

#blog, #db_data, #detection_opts, #slug, #uri, #version_detection_opts

Class Method Summary collapse

Methods inherited from Plugin

db_file

Methods inherited from WpItem

#==, #changelog_url, #classify, #directory_listing?, #error_log?, #initialize, #last_updated, #latest_version, #outdated?, #popular?, #readme_url, #to_s, #url, #vulnerabilities, #vulnerable_to?

Methods included from Vulnerable

#vulnerable?

Constructor Details

This class inherits a constructor from WPScan::WpItem

Class Method Details

.db_dataHash

Returns:

  • (Hash)


6
7
8
# File 'lib/wpscan/db/dynamic_finders/theme.rb', line 6

def self.db_data
  @db_data ||= super['themes'] || {}
end

.version_finder_moduleObject



10
11
12
# File 'lib/wpscan/db/dynamic_finders/theme.rb', line 10

def self.version_finder_module
  Finders::ThemeVersion
end