Sha256: 9b652f982345cd2556798b7d34829e81698a7a752de0ff8b74321b9f60c0c9b0

Contents?: true

Size: 558 Bytes

Versions: 5

Compression:

Stored size: 558 Bytes

Contents

module WPScan
  module Finders
    module InterestingFindings
      # debug.log finder
      class DebugLog < CMSScanner::Finders::Finder
        # @return [ InterestingFinding ]
        def aggressive(_opts = {})
          path = 'wp-content/debug.log'

          return unless target.debug_log?(path)

          WPScan::DebugLog.new(
            target.url(path),
            confidence: 100, found_by: DIRECT_ACCESS,
            references: { url: 'https://codex.wordpress.org/Debugging_in_WordPress' }
          )
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wpscan-3.4.5 app/finders/interesting_findings/debug_log.rb
wpscan-3.4.4 app/finders/interesting_findings/debug_log.rb
wpscan-3.4.3 app/finders/interesting_findings/debug_log.rb
wpscan-3.4.2 app/finders/interesting_findings/debug_log.rb
wpscan-3.4.1 app/finders/interesting_findings/debug_log.rb