Sha256: 650bfd955a64320eb28ab9346a33252edcf5741e5ff56e2cbe965015900b5ad3
Contents?: true
Size: 378 Bytes
Versions: 17
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true module Typhoeus # Custom Response class class Response # @note: Ignores requests done to the /status endpoint of the API # # @return [ Boolean ] 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 end end
Version data entries
17 entries across 17 versions & 1 rubygems