Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo Nmap Development mailing list archives

Re: nmap doesn't write to a file
From: David Fifield <david () bamsoftware com>
Date: Wed, 15 Oct 2008 09:16:28 -0600

On Wed, Oct 15, 2008 at 11:12:18AM +0200, sara fink wrote:
I am trying to save a scan to a file. I use nmap 4.76. I tried all the
options, Normal, xml, grepable. All of them are written to standard output.
It used to save to a file. Don't know what happened lately. Is it a bug in
the recent release or something related to my gentoo box?

The command I run is:

 nmap -sU -n -v -v  -PN -p 5060 --open -oX file  <ip-range>

I am not able to reproduce this. The command you gave creates an XML
file called "file" for me. Does the above command cause XML output or
normal output to be written to standard output for you?

If you have a typo in the command that might keep the file from being
created. If you type "-oXfile" instead of "-oX file" then Nmap will
write normal output to the file called "Xfile". If you somehow have
"-oX -" in the command then XML output will be written to standard
output.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]