nuclei-templates/http/token-spray/api-abstract-timezone.yaml

30 lines
814 B
YAML

id: api-abstract-timezone
info:
name: Abstract Api Timezone Test
author: daffainfo
severity: info
description: Quickly and easily get the time and date of a location or IP address, or convert the time and date of one timezone into another
reference:
- https://www.abstractapi.com/api/time-date-timezone-api
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-timezone
metadata:
max-request: 1
tags: token-spray,abstractapi
self-contained: true
http:
- method: GET
path:
- "https://timezone.abstractapi.com/v1/current_time/?api_key={{token}}&location=Oxford,%20United%20Kingdom"
matchers:
- type: word
part: body
words:
- '"requested_location":'
- '"longitude":'
- '"latitude":'
condition: and