module CMSScanner::Target::Server::IIS
Some IIS
specific implementation
Public Instance Methods
Source
# File lib/cms_scanner/target/server/iis.rb, line 21 def directory_listing?(path = nil, params = {}) res = NS::Browser.get(url(path), params) res.code == 200 && res.body =~ %r{<H1>#{uri.host} - /} ? true : false end
@param [ String ] path @param [ Hash ] params The request params
@return [ Boolean ] true if url(path) has the directory
listing enabled, false otherwise
Source
# File lib/cms_scanner/target/server/iis.rb, line 12 def server(_path = nil, _params = {}) :IIS end
@param [ String ] path @param [ Hash ] params The request params
@return [ Symbol ] :IIS