Sha256: 323cab4aa2a536cf2f9c2e386f3831ad747a90b0c4e35459bc3cfeb2e992af89
Contents?: true
Size: 714 Bytes
Versions: 50
Compression:
Stored size: 714 Bytes
Contents
# frozen_string_literal: true module WPScan module Finders class Finder module WpVersion # SmartURLChecker specific for the WP Version module SmartURLChecker include CMSScanner::Finders::Finder::SmartURLChecker def create_version(number, opts = {}) Model::WpVersion.new( number, found_by: opts[:found_by] || found_by, confidence: opts[:confidence] || 80, interesting_entries: opts[:entries] ) rescue WPScan::Error::InvalidWordPressVersion nil # Invalid Version returned as nil and will be ignored by Finders end end end end end end
Version data entries
50 entries across 50 versions & 1 rubygems