Class: WPScan::Finders::MainTheme::CssStyleIn404Page

Inherits:
CssStyleInHomepage show all
Defined in:
app/finders/main_theme/css_style_in_404_page.rb

Overview

From the CSS style in the 404 page

Constant Summary

Constants inherited from Finder

Finder::DIRECT_ACCESS

Instance Attribute Summary

Attributes inherited from Finder

#progress_bar, #target

Instance Method Summary collapse

Methods inherited from CssStyleInHomepage

#create_theme, #passive_from_css_href, #passive_from_style_code

Methods included from WpItems::UrlsInPage

#item_attribute_pattern, #item_code_pattern, #item_url_pattern, #items_from_codes, #items_from_links

Methods inherited from Finder

#aggressive, #browser, #create_progress_bar, #found_by, #hydra, #initialize, #titleize

Constructor Details

This class inherits a constructor from WPScan::Finders::Finder

Instance Method Details

#passive(opts = {}) ⇒ Object



8
9
10
# File 'app/finders/main_theme/css_style_in_404_page.rb', line 8

def passive(opts = {})
  passive_from_css_href(target.error_404_res, opts) || passive_from_style_code(target.error_404_res, opts)
end