Sha256: fe86b7db9d583df121574d5153fbbad34843aa1d93bee00800c8660cf858a9dc
Contents?: true
Size: 592 Bytes
Versions: 9
Compression:
Stored size: 592 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.target.homepage_res.body =~ Finders::MainTheme::WooFrameworkMetaGenerator::PATTERN return unless Regexp.last_match[1] == target.name WPScan::Version.new(Regexp.last_match[2], found_by: found_by, confidence: 80) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems