Class: Typhoeus::Response
- Inherits:
-
Object
- Object
- Typhoeus::Response
- Defined in:
- lib/wpscan/typhoeus/response.rb
Overview
Custom Response class
Instance Method Summary collapse
-
#from_vuln_api? ⇒ Boolean
@note: Ignores requests done to the /status endpoint of the API.
Instance Method Details
#from_vuln_api? ⇒ Boolean
@note: Ignores requests done to the /status endpoint of the API
9 10 11 12 |
# 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 |