Files Folder Page
The files page lets you choose input/output options. The following picture shows a screenshot
of the files page:

Input File Options
The following input file options are supported:
- Input File: read target specifications from the file specified
RATHER than from the hostname exit box. The file should
contain a list of host or network expressions
seperated by spaces, tabs, or newlines. Use a
hyphen (-) as inputfilename if you want nmap to
read host expressions from stdin (like at the end
of a pipe). See the section target specification
for more information on the expressions you fill
the file with. The browse button will open an file selection dialog, in
which you can select the input file.
Output File Options:
- Output File Name: writes the Nmap output to the specified file. The browse button will
open an file selection dialog, in which you can select the output file.
- Normal: This logs the results of your scans in a normal
human readable form into the file you specify as an
argument.
- XML: this logs the results of your scans in XML form
into the file you specify as an argument. This
allows programs to easily capture and interpret
Nmap results. You can give the argument ´-´ (with
out quotes) to shoot output into stdout (for shell
pipelines, etc). In this case normal output will
be suppressed. Watch out for error messages if you
use this (they will still go to stderr). Also note
that ´-v´ may cause some extra information to be
printed. The Document Type Definition (DTD) defin
ing the XML output structure is available at
http://www.insecure.org/nmap/nmap.dtd.
- Grep: This logs the results of your scans in a grepable
form into the file you specify as an argument.
This simple format provides all the information on
one line (so you can easily grep for port or OS
information and see all the IPs. This used to be
the preferred mechanism for programs to interact
with Nmap, but now we recommend XML output (-oX
instead). This simple format may not contain as
much information as the other formats. You can
give the argument ´-´ (without quotes) to shoot
output into stdout (for shell pipelines, etc). In
this case normal output will be suppressed. Watch
out for error messages if you use this (they will
still go to stderr). Also note that Verbose will
cause some extra information to be printed.
- All: this tells Nmap to log in ALL the majore formats
(normal, grepable, and XML). You give a base for
the filename, and the output files will be
base.nmap, base.gnmap, and base.xml.
- Append: Tells Nmap to append scan results to any output
files you have specified rather than overwriting
those files.
Copyright © JV Software