User`s guide
Useful Nmap Command Lines
A
Useful Nmap Command Lines
The syntax for using Nmap is as follows:
nmap [ <Scan Type> ...] [ <Options> ] { <target specification> }
OSDetection
n
-O:EnablesOSdetection. Output scan is in normal, XML, s|<rIpt kIddi3, and Grepable formats,
respectively, to the given filename.
OUTPUT:
-oN/-oX/-oS/-oG <file>
n
-R: Specifies DNS resolution for all targets. This option instructs Nmap to always perform reverse DNS
resolution on the target IP addresses. Reverse DNS is typically performed only against responsive
(online) hosts.
Examples
nmap.exe –O -R -oX c:\nmapoutput.xml 10.30.200.45
nmap -O –R -oX c:\myOutput2.xml 10.*0.0.*
Reference
For further information about the Nmap commands, see the Nmap Reference Guide at:
http://nmap.org/book/man-briefoptions.html
VMware, Inc. 23