Class: WPScan::Finders::Users::Base

Inherits:
Object
  • Object
show all
Includes:
CMSScanner::Finders::SameTypeFinder
Defined in:
app/finders/users.rb

Overview

Users Finder

Instance Method Summary collapse

Constructor Details

#initialize(target) ⇒ Base

Returns a new instance of Base.

Parameters:



30
31
32
33
34
35
36
37
38
39
40
# File 'app/finders/users.rb', line 30

def initialize(target)
  finders <<
    Users::AuthorPosts.new(target) <<
    Users::WpJsonApi.new(target) <<
    Users::OembedApi.new(target) <<
    Users::RSSGenerator.new(target) <<
    Users::AuthorSitemap.new(target) <<
    Users::YoastSeoAuthorSitemap.new(target) <<
    Users::AuthorIdBruteForcing.new(target) <<
    Users::LoginErrorMessages.new(target)
end

Instance Method Details

#findersObject



42
43
44
# File 'app/finders/users.rb', line 42

def finders
  @finders ||= Finders::UsersFinders.new
end