Script bitcoinrpc-info

Script types: portrule
Categories: default, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/bitcoinrpc-info.nse

Script Summary

Obtains information from a Bitcoin server by calling getinfo on its JSON-RPC interface.

Script Arguments

creds.global

http credentials used for the query (user:pass)

slaxml.debug

See the documentation for the slaxml library.

creds.[service]

See the documentation for the creds library.

http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

See the documentation for the http library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

nmap -p 8332 --script bitcoinrpc-info --script-args creds.global=<user>:<pass> <target>

Script Output

8332/tcp open  unknown
| bitcoinrpc-info.nse:
|   root:
|     balance: 0
|     blocks: 135041
|     connections: 36
|     difficulty: 1379223.4296725
|     generate: false
|     genproclimit: -1
|     hashespersec: 0
|     keypoololdest: 1309381827
|     paytxfee: 0
|     testnet: false
|_    version: 32100

Requires


Author:

  • Toni Ruottu

License: Same as Nmap--See https://nmap.org/book/man-legal.html