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

27 lines
943 B
YAML
Raw Normal View History

2023-07-14 11:42:53 +00:00
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
2023-10-14 11:27:55 +00:00
max-request: 1
2023-07-14 11:42:53 +00:00
tags: dropbox,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
2023-10-14 11:27:55 +00:00
- (?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