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

25 lines
559 B
YAML
Raw Normal View History

2022-06-20 13:18:50 +00:00
id: api-amdoren
info:
name: Amdoren API Test
author: daffainfo
severity: info
reference:
- https://www.amdoren.com/currency-api/
- https://github.com/daffainfo/all-about-apikey/blob/main/Currency%20Exchange/Amdoren.md
tags: token-spray,amdoren
self-contained: true
requests:
- 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