Sha256: 70e3bd01c87e2bc768055f84f46d5d583b6aefad827b4baa244e126f4b11bd66
Contents?: true
Size: 829 Bytes
Versions: 9
Compression:
Stored size: 829 Bytes
Contents
module WPScan module Finders module PluginVersion module SitepressMultilingualCms # Version from the meta generator class MetaGenerator < CMSScanner::Finders::Finder # @param [ Hash ] opts # # @return [ Version ] def passive(_opts = {}) target.target.homepage_res.html.css('meta[name="generator"]').each do |node| next unless node['content'] =~ /\AWPML\sver:([0-9\.]+)\sstt/i return WPScan::Version.new( Regexp.last_match(1), found_by: 'Meta Generator (Passive detection)', confidence: 50, interesting_entries: ["#{target.target.url}, Match: '#{node}'"] ) end nil end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems