Class: WPScan::Finders::InterestingFindings::DuplicatorInstallerLog
- Inherits:
-
Finder
- Object
- Finder
- WPScan::Finders::InterestingFindings::DuplicatorInstallerLog
- Defined in:
- app/finders/interesting_findings/duplicator_installer_log.rb
Overview
DuplicatorInstallerLog 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 WPScan::Finders::Finder
Instance Method Details
#aggressive(_opts = {}) ⇒ InterestingFinding
9 10 11 12 13 14 15 |
# File 'app/finders/interesting_findings/duplicator_installer_log.rb', line 9 def aggressive(_opts = {}) path = 'installer-log.txt' return unless /DUPLICATOR(-|\s)?(PRO|LITE)?:? INSTALL-LOG/i.match?(target.head_and_get(path).body) Model::DuplicatorInstallerLog.new(target.url(path), confidence: 100, found_by: DIRECT_ACCESS) end |