Sha256: d1d6589c5fe4c1ceb0af920a809a646492fc4101cda2aa9fe460b3a9b1fe7977

Contents?: true

Size: 658 Bytes

Versions: 35

Compression:

Stored size: 658 Bytes

Contents

module CMSScanner
  module Finders
    # Independent Finder
    module IndependentFinder
      def self.included(base)
        base.extend(ClassMethods)
      end

      # Hack to have the #find as a class method
      module ClassMethods
        def find(target, opts = {})
          new(target).find(opts)
        end
      end

      # @param [ Hash ] opts
      # @option opts [ Symbol ] mode (:mixed, :passive, :aggressive)
      #
      # @return [ Findings ]
      def find(opts = {})
        finders.run(opts)
      end

      # @return [ Array ]
      def finders
        @finders ||= NS::Finders::IndependentFinders.new
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
cms_scanner-0.0.35.1 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.35 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.34 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.33 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.32 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.31 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.30 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.29 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.28 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.27 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.26 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.25 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.24 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.23 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.22 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.21 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.20 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.19 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.18 lib/cms_scanner/finders/independent_finder.rb
cms_scanner-0.0.17 lib/cms_scanner/finders/independent_finder.rb