Sha256: 90ab10b476c78b4430261e98ebda81e42dca19fef21d6b5e204003d92603cd4c

Contents?: true

Size: 712 Bytes

Versions: 55

Compression:

Stored size: 712 Bytes

Contents

module CMSScanner
  class Target < WebSite
    module Server
      # Some Apche specific implementation
      module Apache
        # @param [ String ] path
        # @param [ Hash ] params The request params
        #
        # @return [ Symbol ] :Apache
        def server(_path = nil, _params = {})
          :Apache
        end

        # @param [ String ] path
        # @param [ Hash ] params The request params
        #
        # @return [ Array<String> ] The first level of directories/files listed,
        #                           or an empty array if none
        def directory_listing_entries(path = nil, params = {})
          super(path, params, 'td a')
        end
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

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