Nmap wsdd-discover NSE Script


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

Script Description


The wsdd-discover.nse script retrieves and displays information from 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).

Wsdd-discover NSE Script Arguments


This is a full list of arguments supported by the 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=wsdd-discover --script-args max-newtargets=value,newtargets=value <target>

Wsdd-discover NSE Script Example Usage


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

sudo ./nmap --script wsdd-discover

Wsdd-discover NSE Script Example Output


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

PORT     STATE         SERVICE
3702/udp open|filtered unknown
| wsdd-discover:
|   Devices
|     Message id: 39a2b7f2-fdbd-690c-c7c9-deadbeefceb3
|     Address: http://10.0.200.116:50000
|_    Type: Device wprt:PrintDeviceType

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


Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.