Nmap Development mailing list archives
Re: nmap doesn't write to a file
From: "sara fink" <sara.fink () gmail com>
Date: Sat, 18 Oct 2008 15:17:50 +0200
On 10/16/08, JohnDoe <hommeentete () gmail com> wrote:
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.
Yes, this worked. After this try, I ran again my original commands with -oX -oG and the files were created. I don't know what was the problem. The only thing that still bothers me, is that it writes to the file but writes to standard output as well. Is it normal?
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 standardoutput.It used to save to a file. Don't know what happened lately. Is it a buginthe 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
Current thread:
- nmap doesn't write to a file sara fink (Oct 15)
- Re: nmap doesn't write to a file David Fifield (Oct 15)
- Re: nmap doesn't write to a file sara fink (Oct 15)
- Re: nmap doesn't write to a file JohnDoe (Oct 15)
- Re: nmap doesn't write to a file sara fink (Oct 18)
- Re: nmap doesn't write to a file JohnDoe (Oct 18)
- Re: nmap doesn't write to a file sara fink (Oct 18)
- Re: nmap doesn't write to a file DePriest, Jason R. (Oct 18)
- Re: nmap doesn't write to a file sara fink (Oct 15)
- Re: nmap doesn't write to a file David Fifield (Oct 15)