logo
DATABASE RESOURCES PRICING ABOUT US

nbd-info NSE Script

Description

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: * <https://github.com/NetworkBlockDevice/nbd/blob/master/doc/proto.md> ## 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 * [nbd](<../lib/nbd.html>) * [shortport](<../lib/shortport.html>) * [stdnse](<../lib/stdnse.html>) * [table](<>) * [tableaux](<../lib/tableaux.html>) * * *


Related