Nmap Development mailing list archives
Re: New script names
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Wed, 12 Nov 2008 11:54:59 -0700
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? 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
Current thread:
- Re: New script names, (continued)
- Re: New script names Kris Katterjohn (Nov 10)
- Re: New script names David Fifield (Nov 11)
- Re: New script names Patrick Donnelly (Nov 11)
- Re: New script names sara fink (Nov 12)
- Re: New script names Ron (Nov 12)
- Re: New script names David Fifield (Nov 12)
- Re: New script names Ron (Nov 12)
- Re: New script names Richard Moore (Nov 12)
- Re: New script names Arturo 'Buanzo' Busleiman (Nov 12)
- Re: New script names sara fink (Nov 12)
- Re: New script names Patrick Donnelly (Nov 12)
- Re: New script names sara fink (Nov 12)
- Re: New script names Dirk Loss (Nov 06)
- Re: New script names Fyodor (Nov 07)
- Re: New script names Fyodor (Nov 07)
- Re: New script names Vlatko Kosturjak (Nov 07)
- Re: New script names David Fifield (Nov 17)
- Re: New script names bensonk (Nov 07)