Class: WPScan::Browser

Inherits:
CMSScanner::Browser
  • Object
show all
Extended by:
Actions
Defined in:
lib/wpscan/browser.rb

Overview

Custom Browser

Instance Method Summary collapse

Instance Method Details

#default_user_agentString

Returns:

  • (String)


12
13
14
# File 'lib/wpscan/browser.rb', line 12

def default_user_agent
  "WPScan v#{VERSION} (http://wpscan.org/)"
end

#user_agents_listString

Returns The path to the user agents list.

Returns:

  • (String)

    The path to the user agents list



7
8
9
# File 'lib/wpscan/browser.rb', line 7

def user_agents_list
  @user_agents_list ||= File.join(DB_DIR, 'user-agents.txt')
end