Sha256: 60ab5414dd2c571b37ec9e33d82bf87e5ef97eac3c140bd99a17eb7f56fd3c42

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 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
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wpscan-3.4.0 app/finders/interesting_findings/debug_log.rb
wpscan-3.3.3 app/finders/interesting_findings/debug_log.rb