Sha256: d29a7b7a799e2fabc13d0e47d9f8162eff281ec06a451ec7a928354abfbb530d
Contents?: true
Size: 813 Bytes
Versions: 43
Compression:
Stored size: 813 Bytes
Contents
# frozen_string_literal: true require_relative 'plugin_version/readme' module WPScan module Finders module PluginVersion # Plugin Version Finder class Base include CMSScanner::Finders::UniqueFinder # @param [ Model::Plugin ] plugin def initialize(plugin) finders << PluginVersion::Readme.new(plugin) create_and_load_dynamic_versions_finders(plugin) end # Create the dynamic version finders related to the plugin and register them # # @param [ Model::Plugin ] plugin def create_and_load_dynamic_versions_finders(plugin) DB::DynamicFinders::Plugin.create_versions_finders(plugin.slug).each do |finder| finders << finder.new(plugin) end end end end end end
Version data entries
43 entries across 43 versions & 1 rubygems