Sha256: 767133a811b31ec7b25d7d9c7d3482576b8fe42d68705b7dd64a71e940bed802
Contents?: true
Size: 663 Bytes
Versions: 30
Compression:
Stored size: 663 Bytes
Contents
# frozen_string_literal: true module WPScan module Finders module InterestingFindings # Full Path Disclosure finder class FullPathDisclosure < CMSScanner::Finders::Finder # @return [ InterestingFinding ] def aggressive(_opts = {}) path = 'wp-includes/rss-functions.php' fpd_entries = target.full_path_disclosure_entries(path) return if fpd_entries.empty? Model::FullPathDisclosure.new( target.url(path), confidence: 100, found_by: DIRECT_ACCESS, interesting_entries: fpd_entries ) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems