Nmap broadcast-wsdd-discover NSE Script


This page contains detailed information about how to use the broadcast-wsdd-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-wsdd-discover.nse
Script categories: broadcast, safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -

Script Description


The broadcast-wsdd-discover.nse script uses a multicast query to discover devices supporting the Web Services Dynamic Discovery (WS-Discovery) protocol. It also attempts to locate any published Windows Communication Framework (WCF) web services (.NET 4.0 or later).

Broadcast-wsdd-discover NSE Script Arguments


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

max-newtargets

Sets the number of the maximum allowed new targets. If set to 0 or less then there is no limit. The default value is 0.

newtargets

If specified, lets NSE scripts add new targets.

- - -
To use these script arguments, add them to the Nmap command line using the --script-args arg1=value,[arg2=value,..] syntax. For example:

nmap --script=broadcast-wsdd-discover --script-args max-newtargets=value,newtargets=value <target>

Broadcast-wsdd-discover NSE Script Example Usage


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

sudo ./nmap --script broadcast-wsdd-discover

Broadcast-wsdd-discover NSE Script Example Output


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

| broadcast-wsdd-discover:
|   Devices
|     1.2.3.116
|         Message id: 9ea97e41-e874-faa7-fe28-deadbeefceb3
|         Address: http://1.2.3.116:50000
|         Type: Device wprt:PrintDeviceType
|     1.2.3.131
|         Message id: 4d971368-291c-1218-30f1-deadbeefceb3
|         Address: http://1.2.3.131:5357/deadbeef-ea5c-4b9a-a68d-deadbeefceb3/
|         Type: Device pub:Computer
|     1.2.3.110
|         Message id: f5a25a38-d61c-49e5-96c4-deadbeefceb3
|         Address: http://1.2.3.110:5357/deadbeef-469b-4da4-b413-deadbeefee90/
|         Type: Device pub:Computer
|   WCF Services
|     1.2.3.131
|         Message id: c1767df8-43e5-4440-9e26--deadbeefceb3
|_        Address: http://win-7:8090/discovery/scenarios/service2/deadbeef-3382-4668-86e7-deadbeefb935/

Broadcast-wsdd-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-wsdd-discover.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.