nuclei-templates/http/token-spray/api-dropbox.yaml

31 lines
737 B
YAML
Raw Normal View History

2021-10-01 14:33:51 +00:00
id: api-dropbox
info:
name: Dropbox API Test
author: zzeitlin
severity: info
reference:
- https://www.dropbox.com/developers/documentation/http/documentation
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,dropbox
2021-10-01 14:33:51 +00:00
2021-10-20 08:46:18 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-10-01 14:33:51 +00:00
- method: POST
path:
- "https://api.dropboxapi.com/2/users/get_current_account"
2023-10-14 11:27:55 +00:00
2021-10-01 14:33:51 +00:00
headers:
Authorization: Bearer {{token}}
matchers:
2021-11-02 05:19:21 +00:00
- type: word
part: body
words:
- '"account_id":'
- '"email":'
condition: and
# digest: 490a0046304402204e14d6831dc3433fb1c35b72ae25def21d4bcee2ebfbdd1d429ab3602253846902206097732347c7735b2f4ff15bce68205cc74c65e8d650ecbc5599674f83d02adb:922c64590222798bb761d5b6d8e72950