Class: WPScan::Finders::InterestingFindings::DuplicatorInstallerLog
- Inherits:
-
CMSScanner::Finders::Finder
- Object
- CMSScanner::Finders::Finder
- WPScan::Finders::InterestingFindings::DuplicatorInstallerLog
- Defined in:
- app/finders/interesting_findings/duplicator_installer_log.rb
Overview
DuplicatorInstallerLog finder
Instance Method Summary collapse
Instance Method Details
#aggressive(_opts = {}) ⇒ InterestingFinding
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'app/finders/interesting_findings/duplicator_installer_log.rb', line 7 def aggressive(_opts = {}) url = target.url('installer-log.txt') res = Browser.get(url) return unless res.body =~ /DUPLICATOR INSTALL-LOG/ WPScan::InterestingFinding.new( url, confidence: 100, found_by: DIRECT_ACCESS, references: { url: 'https://www.exploit-db.com/ghdb/3981/' } ) end |