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

28 lines
621 B
YAML
Raw Normal View History

2022-06-16 09:00:12 +00:00
id: api-amdoren
info:
name: Amdoren API Test
author: daffainfo
severity: info
description: Free currency API with over 150 currencies
2022-06-16 09:00:12 +00:00
reference:
- https://www.amdoren.com/currency-api/
- https://github.com/daffainfo/all-about-apikey/tree/main/amdoren
2022-06-16 09:00:12 +00:00
tags: token-spray,amdoren
metadata:
max-request: 1
2022-06-16 09:00:12 +00:00
self-contained: true
http:
2022-06-16 09:00:12 +00:00
- method: GET
path:
- "https://www.amdoren.com/api/currency.php?api_key={{token}}&from=USD&to=EUR"
matchers:
- type: word
part: body
words:
- '"error" : 0'
- '"error_message" : "-"'
condition: and