Nmap Development mailing list archives
Re: Bash-completion script for Nmap
From: Vasiliy Kulikov <segooon () gmail com>
Date: Tue, 9 Aug 2011 21:27:07 +0400
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 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Bash-completion script for Nmap Vasiliy Kulikov (Aug 09)
- Re: Bash-completion script for Nmap Daniel Miller (Aug 09)