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

30 lines
768 B
YAML
Raw Permalink Normal View History

2022-03-26 09:32:06 +00:00
id: api-cloudflare
info:
name: Cloudflare API Test
author: ffffffff0x
severity: info
reference:
- https://dash.cloudflare.com/profile/api-tokens
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,cloudflare
2022-03-26 09:32:06 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2022-03-26 09:32:06 +00:00
- raw:
- |
GET https://api.cloudflare.com/client/v4/user/tokens/verify HTTP/1.1
Host: api.cloudflare.com
Authorization: Bearer {{token}}
Content-Type:application/json
matchers:
- type: word
part: body
words:
- 'This API Token is valid and active'
# digest: 4a0a00473045022100f874f0d5f3b6163d67a19d36c8790348c48c79767c7e87e4e71ca3226bbfa7e80220715e0a4b78d4a119954edcbc81ba94fae5f7c8f0ce3bb675ad774fa8e3b1dd63:922c64590222798bb761d5b6d8e72950