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

32 lines
1009 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
# digest: 4a0a004730450220404fa80dd4ee2544eb2c809d7b5defa8ec9c1f60c6ef99c88a620bf8cc8d2e82022100a03fbfdaa510280c8b14069a6deefa4ca22c35db4007a3750b98c0ceaa034cc1:922c64590222798bb761d5b6d8e72950