Exception: WPScan::Error::ApiTokenRequiredForVulnerableEnumeration

Inherits:
Standard
  • Object
show all
Defined in:
lib/wpscan/errors/vuln_api.rb

Overview

Error raised when trying to enumerate vulnerable plugins/themes without an API token

Instance Method Summary collapse

Instance Method Details

#to_sObject



22
23
24
25
26
# File 'lib/wpscan/errors/vuln_api.rb', line 22

def to_s
  'An API token is required for vulnerable plugin/theme enumeration. ' \
    'You can get a free API token with 25 daily requests by registering at https://wpscan.com/register. ' \
    'Provide it via --api-token TOKEN or the WPSCAN_API_TOKEN environment variable.'
end