25 lines
851 B
YAML
25 lines
851 B
YAML
id: twitter-client-id
|
|
|
|
info:
|
|
name: Twitter Client ID
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/twitter.yml
|
|
- https://developer.twitter.com/en/docs/authentication/overview
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: twitter,exposure,tokens
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- (?i)\btwitter.?(?:api|app|application|client|consumer|customer)?.?(?:id|identifier|key).{0,2}\s{0,20}.{0,2}\s{0,20}.{0,2}\b([a-z0-9]{18,25})\b
|
|
# digest: 4a0a0047304502201ca514419db49f5676db563854fec4a2b633038871ed5d297ade7a101a9cc8cc022100becb7c1ab1be667269bc64fb7f6bdf94c0681e03535fa4222c743ff29091fbac:922c64590222798bb761d5b6d8e72950 |