next up previous contents
Next: Other Nmap Options Up: NMAP - A Stealth Previous: OS Fingerprinting  nbsp; Contents

Outputting Logs

Logging in Nmap can be provided by the -oN, -oX or -oG options. Each one is followed by the name of the logfile. -oN outputs a human readable log, -oX outputs an XML log and -oG outputs a grepable log. The -oA option outputs in all 3 formats, and -oS outputs in a format I'm sure none of you would ever want to use (try it; you'll see what I mean!)

The -append-output option appends scan results to the output files you specified instead of overwriting their contents.



2006-07-15