Class: WPScan::Finders::InterestingFindings::DebugLog

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

Overview

debug.log finder

Instance Method Summary collapse

Instance Method Details

#aggressive(_opts = {}) ⇒ InterestingFinding

Returns:

  • (InterestingFinding)


9
10
11
12
13
14
15
# File 'app/finders/interesting_findings/debug_log.rb', line 9

def aggressive(_opts = {})
  path = 'wp-content/debug.log'

  return unless target.debug_log?(path)

  Model::DebugLog.new(target.url(path), confidence: 100, found_by: DIRECT_ACCESS)
end