Sha256: e416e92c7cd440c849305ff70186d5fc9630de75cb76c5cc2fdcc84a7276db61
Contents?: true
Size: 659 Bytes
Versions: 13
Compression:
Stored size: 659 Bytes
Contents
module WPScan module Finders module Plugins # URLs In Homepage Finder # Typically, the items detected from URLs like # /wp-content/plugins/<slug>/ class UrlsInHomepage < CMSScanner::Finders::Finder include WpItems::URLsInHomepage # @param [ Hash ] opts # # @return [ Array<Plugin> ] def passive(opts = {}) found = [] (items_from_links('plugins') + items_from_codes('plugins')).uniq.sort.each do |slug| found << Plugin.new(slug, target, opts.merge(found_by: found_by, confidence: 80)) end found end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems