Nmap Development mailing list archives

Re: New script names


From: "sara fink" <sara.fink () gmail com>
Date: Wed, 12 Nov 2008 21:38:52 +0200

On Wed, Nov 12, 2008 at 8:54 PM, Patrick Donnelly <
batrick.donnelly () gmail com> wrote:

On Wed, Nov 12, 2008 at 6:20 AM, sara fink <sara.fink () gmail com> wrote:
I'd like to propose a  feature request about which nse script to choose
in
the command line. Is it complicated to make tab completion?

There is a similar script in gentoo which helps in less typing commands.
example emerge moz will tab complete to mozilla-firefox.

The name of the script there is gentoo-bashcomp. If there is interest, I
can
post here the source.

Thanks in advance
Sara

Hi Sara,

This would be simple enough to do in Lua if we use Lua patterns. A
simple iteration over all the files in the script database using
string.find would work very well. Thoughts on this?


I think it's very good. Simple and effective.


Cheers,





--
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

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