Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: nmap doesn't write to a file
From: JohnDoe <hommeentete () gmail com>
Date: Wed, 15 Oct 2008 18:13:28 -0500

Have you tried this flag: 

-oA <basename>: Output in the three major formats at once  

?

I use it like this:

-oA scan.udp 2>> scan.udp.error 

This gives an .error file, a .nmap file, a .xml, and a .gnmap file.


On Wed, 2008-10-15 at 18:13 +0200, sara fink wrote:
There is a space between -oX and file and no - instead of file name. The
weird thing is that it happened for whatever format of file I requested.

I made yesterday a mistake and deleted some libraries without running
revdep-rebuild --library first. The libraries involved were
libcrypto.so.0.9.6 libssl.so.0.9.7 and libssl.so.0.9.6

This mistake has to do something with the problem I have?


On Wed, Oct 15, 2008 at 5:16 PM, David Fifield <david () bamsoftware com>wrote:

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


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


_______________________________________________
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 ]