Nmap Development mailing list archives

Re: nmap doesn't write to a file


From: "sara fink" <sara.fink () gmail com>
Date: Wed, 15 Oct 2008 18:13:06 +0200

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


Current thread: