Class: CMSScanner::Finders::InterestingFindings::SearchReplaceDB2
- Defined in:
- app/finders/interesting_findings/search_replace_db_2.rb
Overview
SearchReplaceDB2 finder
Constant Summary
Constants inherited from Finder
Instance Attribute Summary
Attributes inherited from Finder
Instance Method Summary collapse
Methods inherited from Finder
#browser, #create_progress_bar, #found_by, #hydra, #initialize, #passive, #titleize
Constructor Details
This class inherits a constructor from CMSScanner::Finders::Finder
Instance Method Details
#aggressive(_opts = {}) ⇒ InterestingFinding
9 10 11 12 13 14 15 16 17 18 |
# File 'app/finders/interesting_findings/search_replace_db_2.rb', line 9 def aggressive(_opts = {}) path = 'searchreplacedb2.php' return unless /by interconnect/i.match?(target.head_and_get(path).body) NS::Model::InterestingFinding.new(target.url(path), confidence: 100, found_by: found_by, references: references) end |
#references ⇒ Object
20 21 22 |
# File 'app/finders/interesting_findings/search_replace_db_2.rb', line 20 def references { url: 'https://interconnectit.com/products/search-and-replace-for-wordpress-databases/' } end |