Sha256: cf42b947f4483dbaf330c7c2549e0498137ea8e991cdc6073bb5d531ddc0efe5

Contents?: true

Size: 1.14 KB

Versions: 36

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true

require_relative 'plugins/urls_in_homepage'
require_relative 'plugins/urls_in_404_page'
require_relative 'plugins/known_locations'
# From the DynamicFinders
require_relative 'plugins/comment'
require_relative 'plugins/xpath'
require_relative 'plugins/header_pattern'
require_relative 'plugins/body_pattern'
require_relative 'plugins/javascript_var'
require_relative 'plugins/query_parameter'
require_relative 'plugins/config_parser' # Not loaded below as not implemented

module WPScan
  module Finders
    module Plugins
      # Plugins Finder
      class Base
        include CMSScanner::Finders::SameTypeFinder

        # @param [ WPScan::Target ] target
        def initialize(target)
          finders <<
            Plugins::UrlsInHomepage.new(target) <<
            Plugins::UrlsIn404Page.new(target) <<
            Plugins::HeaderPattern.new(target) <<
            Plugins::Comment.new(target) <<
            Plugins::Xpath.new(target) <<
            Plugins::BodyPattern.new(target) <<
            Plugins::JavascriptVar.new(target) <<
            Plugins::KnownLocations.new(target)
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
wpscan-3.8.28 app/finders/plugins.rb
wpscan-3.8.27 app/finders/plugins.rb
wpscan-3.8.26 app/finders/plugins.rb
wpscan-3.8.25 app/finders/plugins.rb
wpscan-3.8.24 app/finders/plugins.rb
wpscan-3.8.22 app/finders/plugins.rb
wpscan-3.8.21 app/finders/plugins.rb
wpscan-3.8.20 app/finders/plugins.rb
wpscan-3.8.19 app/finders/plugins.rb
wpscan-3.8.18 app/finders/plugins.rb
wpscan-3.8.17 app/finders/plugins.rb
wpscan-3.8.16 app/finders/plugins.rb
wpscan-3.8.15 app/finders/plugins.rb
wpscan-3.8.14 app/finders/plugins.rb
wpscan-3.8.13 app/finders/plugins.rb
wpscan-3.8.12 app/finders/plugins.rb
wpscan-3.8.11 app/finders/plugins.rb
wpscan-3.8.10 app/finders/plugins.rb
wpscan-3.8.9 app/finders/plugins.rb
wpscan-3.8.8 app/finders/plugins.rb