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

32 lines
837 B
YAML
Raw Permalink Normal View History

2021-12-22 12:08:17 +00:00
id: api-alchemy
info:
name: Alchemy API Test
author: daffainfo
severity: info
description: Ethereum Node-as-a-Service Provider
reference:
- https://docs.alchemy.com/alchemy/
- https://github.com/daffainfo/all-about-apikey/tree/main/alchemy
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,alchemy
2021-12-22 12:08:17 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-12-23 10:30:03 +00:00
- method: POST
2021-12-22 12:08:17 +00:00
path:
2021-12-23 10:30:03 +00:00
- "https://eth-mainnet.alchemyapi.io/v2/{{token}}"
2021-12-22 12:08:17 +00:00
2023-10-14 11:27:55 +00:00
body: '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":0}'
2021-12-22 12:08:17 +00:00
matchers:
- type: word
part: body
words:
2021-12-23 10:30:03 +00:00
- '"id":'
- '"result":'
2021-12-22 12:08:17 +00:00
condition: and
# digest: 4a0a00473045022100d598753bed1e8d2124ca47485b1081d8c70e9693e9e2d8b3e4e5ad664741c79a0220170ed0c3090c4db34e3ad183d9772b18bfae4d002775d9cf00933ea8a3b24a35:922c64590222798bb761d5b6d8e72950