Sha256: 944c44e864c83a57f943ce4ab57ace912418e296c146695131034e70c007ba44
Contents?: true
Size: 815 Bytes
Versions: 13
Compression:
Stored size: 815 Bytes
Contents
module WPScan module Finders module DynamicFinder module Version # To be used as a base when creating # a dynamic finder to find the version of a WP Item (such as theme/plugin) class Finder < Finders::DynamicFinder::Finder protected # @param [ String ] number # @param [ Hash ] finding_opts # @return [ WPScan::Version ] def create_version(number, finding_opts) WPScan::Version.new(number, version_finding_opts(finding_opts)) end # @param [ Hash ] opts # @retutn [ Hash ] def version_finding_opts(opts) opts[:found_by] ||= found_by opts[:confidence] ||= self.class::CONFIDENCE opts end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems