Sha256: f0cfea886f50593fae3e2917001c83d0497964941f096ed25248010dd5c0996f

Contents?: true

Size: 881 Bytes

Versions: 44

Compression:

Stored size: 881 Bytes

Contents

# frozen_string_literal: true

module WPScan
  module Finders
    module Plugins
      # Plugins finder from Dynamic Finder 'QueryParameter'
      class QueryParameter < Finders::DynamicFinder::WpItems::Finder
        DEFAULT_CONFIDENCE = 10

        def passive(_opts = {})
          # Handled by UrlsInHomePage, so no need to check this twice
        end

        # @param [ Hash ] opts The options from the #passive, #aggressive methods
        # @param [ Typhoeus::Response ] response
        # @param [ String ] slug
        # @param [ String ] klass
        # @param [ Hash ] config The related dynamic finder config hash
        #
        # @return [ Plugin ] The detected plugin in the response, related to the config
        def process_response(opts, response, slug, klass, config)
          # TODO: when a real case will be found
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
wpscan-3.6.2 app/finders/plugins/query_parameter.rb
wpscan-3.6.1 app/finders/plugins/query_parameter.rb
wpscan-3.6.0 app/finders/plugins/query_parameter.rb
wpscan-3.5.5 app/finders/plugins/query_parameter.rb