Nmap broadcast-bjnp-discover NSE Script


This page contains detailed information about how to use the broadcast-bjnp-discover NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/broadcast-bjnp-discover.nse
Script categories: safe, broadcast
Target service / protocol: -
Target network port(s): -
List of CVEs: -

Script Description


The broadcast-bjnp-discover.nse script attempts to discover Canon devices (Printers/Scanners) supporting the BJNP protocol by sending BJNP Discover requests to the network broadcast address for both ports associated with the protocol.

The script then attempts to retrieve the model, version and some additional information for all discovered devices.

Broadcast-bjnp-discover NSE Script Arguments


This is a full list of arguments supported by the broadcast-bjnp-discover.nse script:

broadcast-bjnp-discover.timeout

Specifies the amount of seconds to sniff the network interface. (default 30s)

- - -
To use this script argument, add it to Nmap command line like in this example:

nmap --script=broadcast-bjnp-discover --script-args broadcast-bjnp-discover.timeout=value <target>

Broadcast-bjnp-discover NSE Script Example Usage


Here's an example of how to use the broadcast-bjnp-discover.nse script:

nmap --script broadcast-bjnp-discover

Broadcast-bjnp-discover NSE Script Example Output


Here's a sample output from the broadcast-bjnp-discover.nse script:

| broadcast-bjnp-discover:
|   192.168.0.10
|     Printer
|       Manufacturer: Canon
|       Model: MG5200 series
|       Description: Canon MG5200 series
|       Firmware version: 1.050
|       Command: BJL,BJRaster3,BSCCe,NCCe,IVEC,IVECPLI
|     Scanner
|       Manufacturer: Canon
|       Model: MG5200 series
|       Description: Canon MG5200 series
|_      Command: MultiPass 2.1,IVEC

Broadcast-bjnp-discover NSE Script Example XML Output


There is no sample XML output for this module. However, by providing the -oX <file> option, Nmap will produce a XML output and save it in the file.xml file.

Author


  • Patrik Karlsson

References


See Also


Related NSE scripts to the broadcast-bjnp-discover.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.