nuclei-templates/token-spray/twitter.yaml

24 lines
499 B
YAML

id: api-twitter
info:
name: Twitter API Test
author: zzeitlin
reference: https://developer.twitter.com/en/docs/twitter-api/api-reference-index
severity: info
tags: token-spray,twitter
self-contained: true
requests:
- method: GET
path:
- "https://api.twitter.com/1.1/account_activity/all/subscriptions/count.json"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- 'error'
negative: true