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

32 lines
906 B
YAML
Raw Normal View History

2021-12-06 14:48:27 +00:00
id: api-festivo
info:
name: Festivo API Test
author: daffainfo
severity: info
description: Fastest and most advanced public holiday and observance service on the market
2021-12-06 14:48:27 +00:00
reference:
- https://docs.getfestivo.com/docs/products/public-holidays-api/intro/
- https://github.com/daffainfo/all-about-apikey/tree/main/festivo-public-holidays
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,festivo
2021-12-06 14:48:27 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-12-06 14:48:27 +00:00
- method: GET
path:
- "https://api.getfestivo.com/v2/holidays?country=US&api_key={{token}}&year=2020"
matchers:
- type: word
part: body
words:
2021-12-06 15:02:13 +00:00
- '"id":'
2021-12-06 14:48:27 +00:00
- '"holidays":'
- '"name":'
condition: and
# digest: 490a004630440220310ec371cb4874227f93c2d3efec48996e61a2e60b9b4e7eb7c11cacabdd07e7022015e3fc75ad7459d05cc1b5cac21f7d6ef42a93c521d0354d4165c5a3743d7bbe:922c64590222798bb761d5b6d8e72950