nuclei-templates/http/technologies/erigon-server-detect.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

2023-08-14 05:06:17 +00:00
id: erigon-server-detect
2023-08-13 01:38:49 +00:00
info:
2023-08-14 05:27:31 +00:00
name: Erigon JSON-RPC HTTP Server - Detect
2023-08-13 01:38:49 +00:00
author: Nullfuzz
severity: info
description: |
Erigon is an implementation of Ethereum (execution layer with embeddable consensus layer). By default Erigon runs a JSON-RPC HTTP server on port 8545/TCP
reference:
- https://github.com/ledgerwatch/erigon
metadata:
2023-10-14 11:27:55 +00:00
verified: true
2023-08-13 01:38:49 +00:00
max-request: 1
shodan-query: product:"Erigon"
tags: tech,erigon,ethereum,web3,blockchain
http:
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"method":"web3_clientVersion","params":[],"id":1,"jsonrpc":"2.0"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(header, "application/json")'
- 'contains(body, "erigon")'
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
2023-08-14 05:06:17 +00:00
- '(erigon/[0-9_.]+)'
# digest: 4a0a004730450220772f151d9d50f296452af820aa0000d43e80ea87ccfd0bb53d4d4599b6eca5d2022100a6c8c15b4c067a59651623a5724d05819b5c77fd77d918fca4615fdd63f92950:922c64590222798bb761d5b6d8e72950