Sha256: 1aaa67e960046bf100518d6c22a2001675d57815cd24bdebb678a9ed45c69923

Contents?: true

Size: 746 Bytes

Versions: 19

Compression:

Stored size: 746 Bytes

Contents

# Gems
require 'cms_scanner'
require 'yajl/json_gem'
require 'addressable/uri'
require 'active_support/all'
# Standard Lib
require 'uri'
require 'time'
require 'readline'
require 'securerandom'
# Custom Libs
require 'cmsscan/target'
require 'cmsscan/version'
require 'cmsscan/controller'

Encoding.default_external = Encoding::UTF_8

# CMSScan
module CMSScan
  include CMSScanner

  APP_DIR = Pathname.new(__FILE__).dirname.join('..', 'app').expand_path
  # Not needed in this example
  # DB_DIR  = File.join(Dir.home, '.cmsscan', 'db')

  # Override, otherwise it would be returned as 'cms_scan'
  # doesn't really matter in this example.
  #
  # @return [ String ]
  def self.app_name
    'cmsscan'
  end
end

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cms_scanner-0.0.40 example/lib/cmsscan.rb
cms_scanner-0.0.39.4 example/lib/cmsscan.rb
cms_scanner-0.0.39.3 example/lib/cmsscan.rb
cms_scanner-0.0.39.2 example/lib/cmsscan.rb
cms_scanner-0.0.39.1 example/lib/cmsscan.rb
cms_scanner-0.0.39.0 example/lib/cmsscan.rb
cms_scanner-0.0.38.4 example/lib/cmsscan.rb
cms_scanner-0.0.38.3 example/lib/cmsscan.rb
cms_scanner-0.0.38.2 example/lib/cmsscan.rb
cms_scanner-0.0.38.1 example/lib/cmsscan.rb
cms_scanner-0.0.38.0 example/lib/cmsscan.rb
cms_scanner-0.0.37.12 example/lib/cmsscan.rb
cms_scanner-0.0.37.11 example/lib/cmsscan.rb
cms_scanner-0.0.37.10 example/lib/cmsscan.rb
cms_scanner-0.0.37.9 example/lib/cmsscan.rb
cms_scanner-0.0.37.8 example/lib/cmsscan.rb
cms_scanner-0.0.37.7 example/lib/cmsscan.rb
cms_scanner-0.0.37.6 example/lib/cmsscan.rb
cms_scanner-0.0.37.5 example/lib/cmsscan.rb