Class: WPScan::Finders::InterestingFindings::DuplicatorInstallerLog

Inherits:
CMSScanner::Finders::Finder
  • Object
show all
Defined in:
app/finders/interesting_findings/duplicator_installer_log.rb

Overview

DuplicatorInstallerLog finder

Instance Method Summary collapse

Instance Method Details

#aggressive(_opts = {}) ⇒ InterestingFinding

Returns:

  • (InterestingFinding)


9
10
11
12
13
14
15
16
17
18
19
20
# File 'app/finders/interesting_findings/duplicator_installer_log.rb', line 9

def aggressive(_opts = {})
  path = 'installer-log.txt'

  return unless /DUPLICATOR INSTALL-LOG/.match?(target.head_and_get(path).body)

  Model::DuplicatorInstallerLog.new(
    target.url(path),
    confidence: 100,
    found_by: DIRECT_ACCESS,
    references: { url: 'https://www.exploit-db.com/ghdb/3981/' }
  )
end