1# frozen_string_literal: true 2 3module WPScan 4 module Finders 5 module MainTheme 6 # From the CSS style in the 404 page 7 class CssStyleIn404Page < CssStyleInHomepage 8 def passive(opts = {}) 9 passive_from_css_href(target.error_404_res, opts) || passive_from_style_code(target.error_404_res, opts) 10 end 11 end 12 end 13 end 14end 15 16