nuclei-templates/http/exposures/tokens/twitter/twitter-secret-key.yaml

25 lines
865 B
YAML

id: twitter-secret-key
info:
name: Twitter Secret Key
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)twitter.?(?:api|app|application|client|consumer|customer|secret|key).?(?:key|oauth|sec|secret)?.{0,2}\s{0,20}.{0,2}\s{0,20}.{0,2}\b([a-z0-9]{35,44})\b
# digest: 4a0a0047304502201510eabed487052cfdbecdbca2123941bf75902d72d1dee630efae4e46d24d81022100eae4714437104c7cd1f9541b8dea0357bcd3e7c218bbd3f64e1d911364399cdb:922c64590222798bb761d5b6d8e72950