Sha256: 258b8627e691c57d9a844b0b0042ebb7a14cea1b6ead2283f15953b9eb35b22e
Contents?: true
Size: 636 Bytes
Versions: 51
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true module CMSScanner module Finders # This class is designed to handle independent results # which are not related with each others # e.g: interesting files class IndependentFinders < BaseFinders # @param [ Hash ] opts # @option opts [ Symbol ] mode :mixed, :passive or :aggressive # # @return [ Findings ] def run(opts = {}) methods = symbols_from_mode(opts[:mode]) each do |finder| methods.each do |symbol| run_finder(finder, symbol, opts) end end filter_findings end end end end
Version data entries
51 entries across 51 versions & 3 rubygems