NYTimes API Test
ID: api-nytimes
Severity: info
Author: daffainfo
Tags: token-spray,nytimes
Description
Section titled “Description”NYTimes API Test
YAML Source
Section titled “YAML Source”id: api-nytimes
info: name: NYTimes API Test author: daffainfo severity: info description: NYTimes API Test reference: - https://developer.nytimes.com/apis metadata: max-request: 1 tags: token-spray,nytimes
self-contained: true
http: - raw: - | GET https://api.nytimes.com/svc/mostpopular/v2/shared/1.json?api-key={{token}} HTTP/1.1 Host: api.nytimes.com
matchers: - type: word part: body words: - '"status":' - '"copyright":' - '"num_results":' condition: and# digest: 4b0a00483046022100c15253ecf2b279d223c168a4079298d5f70b11f1bbaffac056cc1e3d8d506fd302210087b97a0f210a1bcadd696c536eff9a5a732831aef3a4522f983b0196bb6e932d:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/token-spray/api-nytimes.yaml"