Sha256: 3a4c81f8848df116bb88f9d99b00bea579e45b246005b41498703f6822bf9abe

Contents?: true

Size: 721 Bytes

Versions: 55

Compression:

Stored size: 721 Bytes

Contents

module CMSScanner
  class Target < WebSite
    module Server
      # Some Nginx specific implementation
      module Nginx
        # @param [ String ] path
        # @param [ Hash ] params The request params
        #
        # @return [ Symbol ] :Nginx
        def server(_path = nil, _params = {})
          :Nginx
        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, 'pre a', /\A\.\./i)
        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/nginx.rb
cms_scanner-0.0.41.9 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.8 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.7 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.6 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.5 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.4 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.3 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.2 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.1 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.41.0 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.40.3 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.40.2 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.40.1 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.40 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.39.4 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.39.3 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.39.2 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.39.1 lib/cms_scanner/target/server/nginx.rb
cms_scanner-0.0.39.0 lib/cms_scanner/target/server/nginx.rb