2022-08-19 19:29:02 +00:00
|
|
|
id: openethereum-server
|
|
|
|
|
|
|
|
info:
|
2022-08-20 04:57:56 +00:00
|
|
|
name: OpenEthereum JSON-RPC HTTP Server Detect
|
2022-08-19 19:29:02 +00:00
|
|
|
author: Nullfuzz
|
|
|
|
severity: info
|
|
|
|
description: |
|
|
|
|
OpenEthereum is the fastest, lightest, and most "secure" Ethereum client. By default OpenEthereum runs a JSON-RPC HTTP server on port 8545/TCP
|
|
|
|
reference:
|
|
|
|
- https://github.com/openethereum/openethereum
|
|
|
|
- https://openethereum.github.io/
|
2022-08-20 04:57:56 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-08-19 19:29:02 +00:00
|
|
|
shodan-query: product:OpenEthereum
|
2022-08-25 09:12:01 +00:00
|
|
|
tags: tech,openethereum,ethereum,web3,blockchain
|
2022-08-19 19:29:02 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-08-19 19:29:02 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST / HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
Content-Length: 66
|
2022-08-20 04:57:56 +00:00
|
|
|
|
2022-08-19 19:29:02 +00:00
|
|
|
{"method":"web3_clientVersion","params":[],"id":1,"jsonrpc":"2.0"}
|
2022-08-20 04:57:56 +00:00
|
|
|
|
2022-08-19 19:29:02 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-08-20 05:19:06 +00:00
|
|
|
- 'status_code == 200'
|
|
|
|
- 'contains(all_headers, "application/json")'
|
|
|
|
- 'contains(body, "OpenEthereum")'
|
2022-08-19 19:29:02 +00:00
|
|
|
condition: and
|
2022-08-20 04:57:56 +00:00
|
|
|
|
2022-08-19 19:29:02 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
2022-08-20 04:57:56 +00:00
|
|
|
regex:
|
|
|
|
- '(v[0-9a-z-_.]+)'
|