Sha256: 9bb6728dcbe271495c58d4f87c44d68e7d790e33d6be0525676a9bb95f1e059f
Contents?: true
Size: 736 Bytes
Versions: 6
Compression:
Stored size: 736 Bytes
Contents
module WPScan module Finders module WpVersion # Sitemap Generator Version Finder class OpmlGenerator < CMSScanner::Finders::Finder # @return [ WpVersion ] def aggressive(_opts = {}) target.comments_from_page(%r{\Agenerator="wordpress/([^"]+)"\z}i, 'wp-links-opml.php') do |match, node| next unless WPScan::WpVersion.valid?(match[1]) return WPScan::WpVersion.new( match[1], found_by: 'OPML Generator (Aggressive Detection)', confidence: 80, interesting_entries: ["#{target.url('wp-links-opml.php')}, Match: '#{node.to_s.strip}'"] ) end nil end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems