Nmap Development mailing list archives

NMap grepable output always supresses hostnames when run with "-n"


From: João Jerónimo <j_j_b_o_devel () yahoo com>
Date: Tue, 23 Aug 2016 16:10:39 +0100

Hello,

I noticed that NMap grepable output always supresses hostnames when run with "-n", even if the hosts were inserted as hostnames in the command line.

This patch fixes this by always using currenths->NameIP() method to print the hostnames and IPs.

I'm not sure if this is the best way to fix the bug.

Best regards,
João Jerónimo

Attachment: nmap-show_hostname_when_inserted_on_commandline.patch
Description:

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: