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 |
# 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::SearchReplaceDB2.new(target.url(path), confidence: 100, found_by: found_by) end |