Class: CMSScanner::FantasticoFileslist
- Inherits:
-
InterestingFinding
- Object
- InterestingFinding
- CMSScanner::FantasticoFileslist
- Defined in:
- app/models/fantastico_fileslist.rb
Overview
FantasticoFileslist
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
Constructor Details
This class inherits a constructor from CMSScanner::InterestingFinding
Instance Method Details
#interesting_entries ⇒ Array<String>
Returns The interesting files/dirs detected.
5 6 7 8 9 10 11 12 13 14 |
# File 'app/models/fantastico_fileslist.rb', line 5 def interesting_entries results = [] entries.each do |entry| next unless entry =~ /(?:admin|\.log|\.sql|\.db)/i results << entry end results end |
#references ⇒ Object
16 17 18 |
# File 'app/models/fantastico_fileslist.rb', line 16 def references %w(http://www.acunetix.com/vulnerabilities/fantastico-fileslist/) end |