Class: CMSScanner::Model::FantasticoFileslist
- Inherits:
-
InterestingFinding
- Object
- InterestingFinding
- CMSScanner::Model::FantasticoFileslist
- Defined in:
- app/models/fantastico_fileslist.rb
Overview
FantasticoFileslist
Constant Summary
Constants included from Finders::Finding
Finders::Finding::FINDING_OPTS
Instance Attribute Summary
Attributes inherited from InterestingFinding
Instance Method Summary collapse
-
#interesting_entries ⇒ Array<String>
The interesting files/dirs detected.
- #references ⇒ Object
Methods inherited from InterestingFinding
#==, #entries, #initialize, #type
Methods included from Finders::Finding
#<=>, #confidence, #confidence=, #confirmed_by, #eql?, included, #parse_finding_options
Constructor Details
This class inherits a constructor from CMSScanner::Model::InterestingFinding
Instance Method Details
#interesting_entries ⇒ Array<String>
Returns The interesting files/dirs detected.
8 9 10 11 12 13 14 15 16 17 |
# File 'app/models/fantastico_fileslist.rb', line 8 def interesting_entries results = [] entries.each do |entry| next unless /(?:admin|\.log|\.sql|\.db)/i.match?(entry) results << entry end results end |
#references ⇒ Object
19 20 21 |
# File 'app/models/fantastico_fileslist.rb', line 19 def references { url: ['http://www.acunetix.com/vulnerabilities/fantastico-fileslist/'] } end |