Nmap lltd-discovery NSE Script


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

Script Description


The lltd-discovery.nse script uses the Microsoft LLTD protocol to discover hosts on a local network.

For more information on the LLTD protocol please refer to

Lltd-discovery NSE Script Arguments


This is a full list of arguments supported by the lltd-discovery.nse script:

lltd-discovery.interface

String specifying which interface to do lltd discovery on. If not specified, all ethernet interfaces are tried.

lltd-discovery.timeout

Timespec specifying how long to listen for replies (default 30s)

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=lltd-discovery --script-args lltd-discovery.interface=value,lltd-discovery.timeout=value <target>

Lltd-discovery NSE Script Example Usage


Here's an example of how to use the lltd-discovery.nse script:

nmap -e <interface> --script lltd-discovery

Lltd-discovery NSE Script Example Output


Here's a sample output from the lltd-discovery.nse script:

| lltd-discovery:
|   192.168.1.64
|     Hostname: acer-PC
|     Mac: 18:f4:6a:4f:de:a2 (Hon Hai Precision Ind. Co.)
|     IPv6: fe80:0000:0000:0000:0000:0000:c0a8:0134
|   192.168.1.33
|     Hostname: winxp-2b2955502
|     Mac: 08:00:27:79:fd:d2 (Cadmus Computer Systems)
|   192.168.1.22
|     Hostname: core
|     Mac: 08:00:27:57:30:7f (Cadmus Computer Systems)
|_  Use the newtargets script-arg to add the results as targets

Lltd-discovery 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.

Authors


  • Gorjan Petrovski
  • Hani Benhabiles

References


See Also


Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.