Nmap duplicates NSE Script
This page contains detailed information about how to use the duplicates 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/duplicates.nse
Script categories: safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -
Script Description
The duplicates.nse script attempts to discover multihomed systems by analysing and comparing information collected by other scripts. The information analyzed currently includes, SSL certificates, SSH host keys, MAC addresses, and Netbios server names.
In order for the script to be able to analyze the data it has dependencies to the following scripts: ssl-cert,ssh-hostkey,nbtstat.
One or more of these scripts have to be run in order to allow the duplicates script to analyze the data.
Duplicates NSE Script Arguments
The duplicates.nse script does not have any arguments.
Duplicates NSE Script Example Usage
Here's an example of how to use the duplicates.nse script:
sudo nmap -PN -p445,443 --script duplicates,nbstat,ssl-cert <ips>
Duplicates NSE Script Example Output
Here's a sample output from the duplicates.nse script:
| duplicates:
| ARP
| MAC: 01:23:45:67:89:0a
| 192.168.99.10
| 192.168.99.11
| Netbios
| Server Name: WIN2KSRV001
| 192.168.0.10
|_ 192.168.1.10
Duplicates 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
- https://nmap.org/nsedoc/scripts/duplicates.html
- https://github.com/nmap/nmap/tree/master/scripts/duplicates.nse
See Also
Visit Nmap NSE Library for more scripts.
Version
This page has been created based on Nmap version 7.92.