Files
nuclei-templates/http/token-spray/api-twitter.yaml
2024-12-01 13:57:55 +00:00

29 lines
777 B
YAML

id: api-twitter
info:
name: Twitter API Test
author: zzeitlin
severity: info
reference:
- https://developer.twitter.com/en/docs/twitter-api/api-reference-index
metadata:
max-request: 1
tags: token-spray,twitter
self-contained: true
http:
- 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:
- '"account_name":'
- '"subscriptions_count_all":'
condition: and
# digest: 4a0a00473045022072128cda6cb689d141ef76a83de06ad8e7f1d41d7b6dcaf3d98256538a293aa4022100dbbd4e98d12864a32897dbd8f6f5e86c2fe598761643f8d3ceeecad8fa3e29be:922c64590222798bb761d5b6d8e72950