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

30 lines
833 B
YAML

id: api-calendarific
info:
name: Calendarific API Test
author: daffainfo
severity: info
description: Worldwide Holidays
reference:
- https://calendarific.com/api-documentation
- https://github.com/daffainfo/all-about-apikey/tree/main/calendarific
metadata:
max-request: 1
tags: token-spray,calendarific
self-contained: true
http:
- method: GET
path:
- "https://calendarific.com/api/v2/holidays?api_key={{token}}&country=US&year=2021"
matchers:
- type: word
part: body
words:
- '"holidays"'
- '"name"'
- '"description"'
condition: and
# digest: 4a0a0047304502200fbbee30533763e4bfc8aacbcdc6b2b7c99eb0a1b8740f26a5ba2f808ee3b44b022100cc4797dba8b6530fc55dad1204c15946886469d72724698f9b7699a73b63477b:922c64590222798bb761d5b6d8e72950