nuclei-templates/http/exposures/tokens/dropbox/dropbox-short-token.yaml

27 lines
943 B
YAML

id: dropbox-short-token
info:
name: Dropbox Short Lived API Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/dropbox-short-lived-api-token.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/dropbox-short-lived-api-token.go
metadata:
verified: true
max-request: 1
tags: dropbox,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)(?:dropbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}(sl\.[a-z0-9\-=_]{135})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a0046304402201b00a240a77d9e12288ce6d917c3d2cbb9cb6c39c195649581855c8bee2576af022015f2ad63aa7e1688dde4b19d7d033eb06c903238314cac7341d96596e851e77b:922c64590222798bb761d5b6d8e72950