Sha256: 19930abd7346ba22efb231509a546b1e0ab6e52a50c46d683e57166554227677
Contents?: true
Size: 540 Bytes
Versions: 30
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true module WPScan module Finders module InterestingFindings # wp-cron.php finder class WPCron < CMSScanner::Finders::Finder # @return [ InterestingFinding ] def aggressive(_opts = {}) res = Browser.get(wp_cron_url) return unless res.code == 200 Model::WPCron.new(wp_cron_url, confidence: 60, found_by: DIRECT_ACCESS) end def wp_cron_url @wp_cron_url ||= target.url('wp-cron.php') end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems