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.
sudo nmap -PN -p445,443 --script duplicates,nbstat,ssl-cert <ips>
| 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
Author: Patrik Karlsson
License: Same as Nmap--See https://nmap.org/book/man-legal.html