mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 09:13:22 +08:00
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
id: openethereum-server
|
|
|
|
info:
|
|
name: OpenEthereum JSON-RPC HTTP Server Detect
|
|
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/
|
|
metadata:
|
|
max-request: 1
|
|
shodan-query: product:OpenEthereum
|
|
tags: tech,openethereum,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, "OpenEthereum")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- '(v[0-9a-z-_.]+)'
|
|
# digest: 4a0a00473045022100e9fc5cafa37f644f6d002f4df7721e807acd0fe9865338c49d65c60d7d80e59a02204f5196ef88d34402e68b0e30bba5d6fede1e89d62d59f60b3782a7ffa610569e:922c64590222798bb761d5b6d8e72950 |