app/finders/plugins/config_parser.rb in wpscan-3.4.5 vs app/finders/plugins/config_parser.rb in wpscan-3.5.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module WPScan module Finders module Plugins # Plugins finder from Dynamic Finder 'ConfigParser' class ConfigParser < WPScan::Finders::DynamicFinder::WpItems::Finder @@ -17,10 +19,10 @@ # TODO. Currently not implemented, and not even loaded by the Finders, as this # finder only has an aggressive method, which has been disabled (globally) # when checking for plugins # - Plugin.new( + Model::Plugin.new( slug, target, opts.merge(found_by: found_by(klass), confidence: config['confidence'] || DEFAULT_CONFIDENCE) ) end