Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Version display patch
From: David Fifield <david () bamsoftware com>
Date: Mon, 31 Jan 2011 02:44:04 -0800

On Thu, Jan 27, 2011 at 01:28:20AM +0530, ambarisha b wrote:
This is a patch to modify -V option(as suggested in the todo
list).Along with nmap version number,it now gives the current
platform,whether lua and openSSL have been compiled or not.
Please find the attachment.

Thanks for this patch. Here's what its output looks like for me:

Nmap version 5.51SVN ( http://nmap.org )
Platform : i686-pc-linux-gnu
Lua - compiled
OpenSSL -compiled

There are some issues with whitespace but other than that I think this
matches what we need. The question is the output format. Vim has a
similar feature; the output of "vim --version" looks like:

VIM - Vi IMproved 7.1 (2007 May 12, compiled Oct 18 2008 09:05:15)
Included patches: 1-314
Compiled by buildd () excelsior roeckx be
Huge version without GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic

Does anyone have comments on how this should look or what other
information should be included?

David Fifield
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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