Script nbd-info

Script types: portrule
Categories: discovery, intrusive
Download: https://svn.nmap.org/nmap/scripts/nbd-info.nse

Script Summary

Displays protocol and block device information from NBD servers.

The Network Block Device protocol is used to publish block devices over TCP. This script connects to an NBD server and attempts to pull down a list of exported block devices and their details

For additional information:

Script Arguments

nbd-info.export_names

Either a single name, or a table of names to about which to request information from the server.

Example Usage

nmap -p 10809 --script nbd-info <target>

Script Output

PORT      STATE SERVICE REASON
10809/tcp open  nbd     syn-ack
| nbd-info:
|   Protocol:
|     Negotiation: fixed newstyle
|     SSL/TLS Wrapped: false
|   Exported Block Devices:
|     foo:
|       Size: 1048576 bytes
|       Transmission Flags:
|         SEND_FLUSH
|         READ_ONLY
|         SEND_FUA
|     bar:
|       Size: 1048576 bytes
|       Transmission Flags:
|         READ_ONLY
|_        ROTATIONAL

Requires


Author:

  • Mak Kolybabi <mak@kolybabi.com>

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