nuclei-templates/http/token-spray/google-fcm.yaml

29 lines
670 B
YAML

id: api-googlefcm
info:
name: Google FCM API Test
author: zzeitlin
severity: info
metadata:
max-request: 1
tags: token-spray,google,fcm,firebase,cloud,messaging
self-contained: true
http:
- method: POST
path:
- "https://fcm.googleapis.com/fcm/send"
body: "{'registration_ids':['ABC']}"
headers:
Authorization: key={{token}}
Content-Type: application/json
matchers:
- type: status
status:
- 200
# digest: 4b0a00483046022100eadff7532cac17d4756f6adbba686b7ac51da0603c4818decf1e62ffa60efb12022100c875da839f664570270abae11e6c5d4dafbc271e898c03c8aa02b014adc3e2bc:922c64590222798bb761d5b6d8e72950