mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
Added api-cloudflare (#3985)
This commit is contained in:
24
token-spray/api-cloudflare.yaml
Normal file
24
token-spray/api-cloudflare.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
id: api-cloudflare
|
||||
|
||||
info:
|
||||
name: Cloudflare API Test
|
||||
author: ffffffff0x
|
||||
severity: info
|
||||
reference:
|
||||
- https://dash.cloudflare.com/profile/api-tokens
|
||||
tags: token-spray,cloudflare
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
- 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'
|
||||
Reference in New Issue
Block a user