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

36 lines
914 B
YAML

id: api-blockchain
info:
name: Blockchain API Test
author: daffainfo
severity: info
description: Bitcoin Payment, Wallet & Transaction Data
reference:
- https://api.blockchain.com/v3/#/
- https://github.com/daffainfo/all-about-apikey/tree/main/blockchain
classification:
cwe-id: CWE-200
metadata:
max-request: 1
tags: token-spray,blockchain
self-contained: true
http:
- raw:
- |
GET https://api.blockchain.com/v3/exchange/accounts HTTP/1.1
Host: api.blockchain.com
X-API-Token: {{token}}
matchers:
- type: word
part: body
words:
- '"currency"'
- '"balance"'
- '"available"'
condition: and
# digest: 490a0046304402201940dafe64505005b67796f616913ec59074288c8967f03a60c1b267796561790220030733f886ac2542be7e2e64e7c9914c450737c940edac691b2a764a03bde3b2:922c64590222798bb761d5b6d8e72950