I was using nmap 5.21 with the -PN, -F and –reason flags in version 5.21. I was outputting the results to an XML file. It would list ALL hosts (say I gave it a /24 subnet to scan. I then updated to 5.51 and ran the exact same command, but it no longer lists down hosts, just ones that are up. Is there a new flag to list down hosts? OR did this get removed in 5.51?
My full options are:
-sS -n -PN -SV -F --reason
I've also used and removed --open
but it will not list down hosts in my XML output.
Best Answer
I checked the Nmap changelog found this in changelog for the Nmap 5.30BETA1 release of March 2010:
So to get the XML output for down hosts like you had before, you should use verbose mode (
-v
) in Nmap 5.30 and newer.