Sha256: 6178a30eb1dbcc1dec9aa0cc94d32078d827f4eb685336a020ce5b99256bcca8
Contents?: true
Size: 664 Bytes
Versions: 39
Compression:
Stored size: 664 Bytes
Contents
module CMSScanner module Finders # This class is designed to handle same type results, such as enumeration of plugins, # themes etc. class SameTypeFinders < BaseFinders # @param [ Hash ] opts # @option opts [ Symbol ] :mode :mixed, :passive or :aggressive # @option opts [ Boolean ] :sort Wether or not to sort the findings # # @return [ Findings ] def run(opts = {}) symbols_from_mode(opts[:mode]).each do |symbol| each do |finder| run_finder(finder, symbol, opts) end end findings.sort! if opts[:sort] filter_findings end end end end
Version data entries
39 entries across 39 versions & 1 rubygems