my-nuclei-templates/api-block.yaml

26 lines
556 B
YAML

id: api-block
info:
name: block.io API Test
author: daffainfo
severity: info
reference:
- https://block.io/docs/basic
- https://github.com/daffainfo/all-about-apikey/blob/main/Cryptocurrency/Block.md
tags: token-spray,block
self-contained: true
requests:
- method: GET
path:
- "https://block.io/api/v2/get_balance/?api_key={{token}}"
matchers:
- type: word
part: body
words:
- '"network"'
- '"available_balance"'
- '"pending_received_balance"'
condition: and