Class: WPScan::DB::Plugin

Inherits:
WpItem
  • Object
show all
Defined in:
lib/wpscan/db/plugin.rb

Overview

Plugin DB

Constant Summary

Constants inherited from WpItem

WpItem::CHANGELOGS, WpItem::READMES

Instance Attribute Summary

Attributes inherited from WpItem

#db_data, #detection_opts, #name, #target, #uri, #version_detection_opts

Class Method Summary collapse

Methods inherited from WpItem

#==, #changelog_url, #classify_name, #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_fileString

Returns:

  • (String)


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

def self.db_file
  @db_file ||= File.join(DB_DIR, 'plugins.json')
end