Sha256: 95be5bd66f5d9b2630a287725d13acf06ed590407f2c2e2f1e636010e1cc08c4

Contents?: true

Size: 588 Bytes

Versions: 20

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

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)

          Model::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

20 entries across 20 versions & 1 rubygems

Version Path
wpscan-3.7.9 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.8 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.7 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.6 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.5 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.4 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.3 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.2 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.1 app/finders/interesting_findings/debug_log.rb
wpscan-3.7.0 app/finders/interesting_findings/debug_log.rb
wpscan-3.6.3 app/finders/interesting_findings/debug_log.rb
wpscan-3.6.2 app/finders/interesting_findings/debug_log.rb
wpscan-3.6.1 app/finders/interesting_findings/debug_log.rb
wpscan-3.6.0 app/finders/interesting_findings/debug_log.rb
wpscan-3.5.5 app/finders/interesting_findings/debug_log.rb
wpscan-3.5.4 app/finders/interesting_findings/debug_log.rb
wpscan-3.5.3 app/finders/interesting_findings/debug_log.rb
wpscan-3.5.2 app/finders/interesting_findings/debug_log.rb
wpscan-3.5.1 app/finders/interesting_findings/debug_log.rb
wpscan-3.5.0 app/finders/interesting_findings/debug_log.rb