Class: WPScan::Finders::MainTheme::CssStyleIn404Page
- Inherits:
-
CssStyleInHomepage
- Object
- CMSScanner::Finders::Finder
- CssStyleInHomepage
- WPScan::Finders::MainTheme::CssStyleIn404Page
- Defined in:
- app/finders/main_theme/css_style_in_404_page.rb
Overview
From the CSS style in the 404 page
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
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 |