Skip to content

Twitter API Test

ID: api-twitter

Severity: info

Author: zzeitlin

Tags: token-spray,twitter

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

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.

Terminal window
$ nuclei -u "URL" -t "http/token-spray/api-twitter.yaml"

View on Github