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