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:
Either a single name, or a table of names to about which to request information from the server.
nmap -p 10809 --script nbd-info <target>
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
License: Same as Nmap--See https://nmap.org/book/man-legal.html