Module: CMSScanner::Target::Server::Nginx
- Defined in:
- lib/cms_scanner/target/server/nginx.rb
Overview
Some Nginx specific implementation
Instance Method Summary collapse
-
#directory_listing_entries(path = nil, params = {}) ⇒ Array<String>
The first level of directories/files listed, or an empty array if none.
-
#server(_path = nil, _params = {}) ⇒ Symbol
:Nginx.
Instance Method Details
#directory_listing_entries(path = nil, params = {}) ⇒ Array<String>
Returns The first level of directories/files listed, or an empty array if none.
21 22 23 |
# File 'lib/cms_scanner/target/server/nginx.rb', line 21 def directory_listing_entries(path = nil, params = {}) super(path, params, 'pre a', /\A\.\./i) end |
#server(_path = nil, _params = {}) ⇒ Symbol
Returns :Nginx.
12 13 14 |
# File 'lib/cms_scanner/target/server/nginx.rb', line 12 def server(_path = nil, _params = {}) :Nginx end |