-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnethermind-server-detect.yaml
41 lines (36 loc) · 1.18 KB
/
nethermind-server-detect.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
id: nethermind-server
info:
name: Nethermind JSON-RPC HTTP Server Detect
author: Nullfuzz
severity: info
description: |
Nethermind is a high-performance, highly configurable full Ethereum protocol execution client built on .NET that runs on Linux, Windows, and macOS, and supports Clique, Aura, and Ethash. By default Nethermind runs a JSON-RPC HTTP server on port 8545/TCP
reference:
- https://nethermind.io/
- https://docs.nethermind.io/nethermind/ethereum-client/json-rpc/web3
- https://github.com/NethermindEth/nethermind
metadata:
max-request: 1
shodan-query: product:"Nethermind"
tags: tech,nethermind,ethereum,web3,blockchain
http:
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
Content-Length: 66
{"method":"web3_clientVersion","params":[],"id":1,"jsonrpc":"2.0"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(header, "application/json")'
- 'contains(body, "Nethermind")'
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- '(v[0-9a-z-_.]+)'