Sha256: 1796a47a5267a1929aef93c439b54a7cd1d125fff84b3b2776680dcc3ad49d1b

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

# Gems
# Believe it or not, active_support MUST be the first one,
# otherwise encoding issues can happen when using JSON format.
# Not kidding.
require 'active_support/all'
require 'cms_scanner'
require 'yajl/json_gem'
require 'addressable/uri'
# Standard Lib
require 'uri'
require 'time'
require 'readline'
require 'securerandom'
# Custom Libs
require 'wpscan/helper'
require 'wpscan/db'
require 'wpscan/version'
require 'wpscan/errors/wordpress'
require 'wpscan/errors/http'
require 'wpscan/errors/update'
require 'wpscan/browser'
require 'wpscan/target'
require 'wpscan/finders'
require 'wpscan/controller'
require 'wpscan/controllers'
require 'wpscan/references'
require 'wpscan/vulnerable'
require 'wpscan/vulnerability'

Encoding.default_external = Encoding::UTF_8

# WPScan
module WPScan
  include CMSScanner

  APP_DIR = Pathname.new(__FILE__).dirname.join('..', 'app').expand_path
  DB_DIR  = File.join(Dir.home, '.wpscan', 'db')

  # Override, otherwise it would be returned as 'wp_scan'
  #
  # @return [ String ]
  def self.app_name
    'wpscan'
  end
end

require "#{WPScan::APP_DIR}/app"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wpscan-3.0.5 lib/wpscan.rb
wpscan-3.0.4 lib/wpscan.rb
wpscan-3.0.3 lib/wpscan.rb
wpscan-3.0.2 lib/wpscan.rb
wpscan-3.0.1 lib/wpscan.rb