class CMSScanner::Finders::IndependentFinders

This class is designed to handle independent results which are not related with each others e.g: interesting files

Public Instance Methods

run(opts = {}) click to toggle source

@param [ Hash ] opts @option opts [ Symbol ] mode :mixed, :passive or :aggressive

@return [ Findings ]

# File lib/cms_scanner/finders/independent_finders.rb, line 13
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