Sha256: a1843979eed02cfff86c0f3cde5d566b9c8339c0c9466c2397e450734b929f59

Contents?: true

Size: 605 Bytes

Versions: 39

Compression:

Stored size: 605 Bytes

Contents

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

39 entries across 39 versions & 1 rubygems

Version Path
cms_scanner-0.0.41.10 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.9 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.8 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.7 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.6 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.5 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.4 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.3 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.2 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.1 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.41.0 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.40.3 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.40.2 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.40.1 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.40 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.39.4 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.39.3 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.39.2 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.39.1 lib/cms_scanner/finders/independent_finders.rb
cms_scanner-0.0.39.0 lib/cms_scanner/finders/independent_finders.rb