Small bug in nmap

Im observe a small bug in nmap plugin: then scan hosts like example.com by domain name json is: "hostname": [ "example.com", "example.com" ], but its contains duplicate hosts.

then scan by ip json like this:
“hostname”: “1.2.3.4”

Hi @dan9,

  • Is this after a single Nmap upload or did you upload the same file multiple times? The intended results should be the same (a single entry for example.com, but hunting down the bug will be different depending on each case.

  • Can you share the relevant source Nmap XML snippet?

Thanks,
Daniel