mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 12:43:29 +08:00
30 lines
770 B
YAML
30 lines
770 B
YAML
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:922c64590222798bb761d5b6d8e72950 |