Nmap Development mailing list archives

Re: Bash-completion script for Nmap


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 09 Aug 2011 15:06:26 -0500

On 08/09/2011 12:27 PM, Vasiliy Kulikov wrote:
Hi Daniel,

This nice script can be improved for --script-args usage.  I'm not
familiar with bash completion, but the rough algo could be:

1) Identify whether there is already any --script XXX

2) grep @args $NMAPDIR/scripts/XXX.nse | cut -d@ -f2 | cut -d' ' -f 2
to get argument list

I find it very inconvenient to look at the documentation every time.

Thanks!

Vasiliy,

Thanks for the feedback! For future reference (and anyone else who might come across this), the best way to give feedback or suggestions for nmap-completion is on GitHub (https://github.com/bonsaiviking/nmap-completion/issues). I've already put this issue in to remind me to look into it, but in general, nmap-dev is for Nmap development, and nmap-completion is a standalone project.

Dan
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: