Sha256: 5c891a0adaf115459d260c6848bb234479a82d253ced2247c7c0f49059614cdb
Contents?: true
Size: 590 Bytes
Versions: 13
Compression:
Stored size: 590 Bytes
Contents
module WPScan module Finders module ThemeVersion # Theme Version Finder from the WooFramework generators class WooFrameworkMetaGenerator < CMSScanner::Finders::Finder # @param [ Hash ] opts # # @return [ Version ] def passive(_opts = {}) return unless target.blog.homepage_res.body =~ Finders::MainTheme::WooFrameworkMetaGenerator::PATTERN return unless Regexp.last_match[1] == target.slug WPScan::Version.new(Regexp.last_match[2], found_by: found_by, confidence: 80) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems