class Typhoeus::Response

Custom Response class

Public Instance Methods

from_vuln_api?() click to toggle source

@note: Ignores requests done to the /status endpoint of the API

@return [ Boolean ]

# File lib/wpscan/typhoeus/response.rb, line 9
def from_vuln_api?
  effective_url.start_with?(WPScan::DB::VulnApi.uri.to_s) &&
    !effective_url.start_with?(WPScan::DB::VulnApi.uri.join('status').to_s)
end