Sha256: 7ac8fb36d81b2b7fcc5952a9e7c6640968510cdc6212e69139496cdf0a261748
Contents?: true
Size: 534 Bytes
Versions: 30
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module WPScan module Finders module InterestingFindings # UploadDirectoryListing finder class UploadDirectoryListing < CMSScanner::Finders::Finder # @return [ InterestingFinding ] def aggressive(_opts = {}) path = 'wp-content/uploads/' return unless target.directory_listing?(path) url = target.url(path) Model::UploadDirectoryListing.new(url, confidence: 100, found_by: DIRECT_ACCESS) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems