Nmap broadcast-xdmcp-discover NSE Script


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

Script Description


The broadcast-xdmcp-discover.nse script discovers servers running the X Display Manager Control Protocol (XDMCP) by sending a XDMCP broadcast request to the LAN. Display managers allowing access are marked using the keyword Willing in the result.

Broadcast-xdmcp-discover NSE Script Arguments


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

broadcast-xdmcp-discover.timeout

Socket timeout (default: 5s)

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

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

Broadcast-xdmcp-discover NSE Script Example Usage


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

nmap --script broadcast-xdmcp-discover

Broadcast-xdmcp-discover NSE Script Example Output


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

Pre-scan script results:
| broadcast-xdmcp-discover:
|_  192.168.2.162 - Willing

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

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.