Class: WPScan::Browser
- Inherits:
-
CMSScanner::Browser
- Object
- CMSScanner::Browser
- WPScan::Browser
- Extended by:
- Actions
- Defined in:
- lib/wpscan/browser.rb
Overview
Custom Browser
Instance Method Summary collapse
- #default_user_agent ⇒ String
-
#user_agents_list ⇒ String
The path to the user agents list.
Instance Method Details
#default_user_agent ⇒ String
12 13 14 |
# File 'lib/wpscan/browser.rb', line 12 def default_user_agent "WPScan v#{VERSION} (http://wpscan.org/)" end |
#user_agents_list ⇒ String
Returns 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 |