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 [ Boolean ] true if url(path) has the directory # listing enabled, false otherwise def directory_listing?(path = nil, params = {}) res = NS::Browser.get(url(path), params) res.code == 200 && res.body =~ /