Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/app/finders/themes.rb
485 views
1
# frozen_string_literal: true
2
3
require_relative 'themes/urls_in_homepage'
4
require_relative 'themes/urls_in_404_page'
5
require_relative 'themes/known_locations'
6
7
module WPScan
8
module Finders
9
module Themes
10
# Themes Finder
11
class Base
12
include CMSScanner::Finders::SameTypeFinder
13
14
# @param [ WPScan::Target ] target
15
def initialize(target)
16
finders <<
17
Themes::UrlsInHomepage.new(target) <<
18
Themes::UrlsIn404Page.new(target) <<
19
Themes::KnownLocations.new(target)
20
end
21
end
22
end
23
end
24
end
25
26