Sha256: ed7de25c0df5bcb6679e7b8ce3eb7ebb243b28d7e7cdc6d1599f37ed3ee27f2a

Contents?: true

Size: 584 Bytes

Versions: 44

Compression:

Stored size: 584 Bytes

Contents

# frozen_string_literal: true

require_relative 'enumeration/cli_options'
require_relative 'enumeration/enum_methods'

module WPScan
  module Controller
    # Enumeration Controller
    class Enumeration < CMSScanner::Controller::Base
      def run
        enum = ParsedCli.enumerate || {}

        enum_plugins if enum_plugins?(enum)
        enum_themes  if enum_themes?(enum)

        %i[timthumbs config_backups db_exports medias].each do |key|
          send("enum_#{key}".to_sym) if enum.key?(key)
        end

        enum_users if enum_users?(enum)
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
wpscan-3.8.28 app/controllers/enumeration.rb
wpscan-3.8.27 app/controllers/enumeration.rb
wpscan-3.8.26 app/controllers/enumeration.rb
wpscan-3.8.25 app/controllers/enumeration.rb
wpscan-3.8.24 app/controllers/enumeration.rb
wpscan-3.8.22 app/controllers/enumeration.rb
wpscan-3.8.21 app/controllers/enumeration.rb
wpscan-3.8.20 app/controllers/enumeration.rb
wpscan-3.8.19 app/controllers/enumeration.rb
wpscan-3.8.18 app/controllers/enumeration.rb
wpscan-3.8.17 app/controllers/enumeration.rb
wpscan-3.8.16 app/controllers/enumeration.rb
wpscan-3.8.15 app/controllers/enumeration.rb
wpscan-3.8.14 app/controllers/enumeration.rb
wpscan-3.8.13 app/controllers/enumeration.rb
wpscan-3.8.12 app/controllers/enumeration.rb
wpscan-3.8.11 app/controllers/enumeration.rb
wpscan-3.8.10 app/controllers/enumeration.rb
wpscan-3.8.9 app/controllers/enumeration.rb
wpscan-3.8.8 app/controllers/enumeration.rb