nmap-completion icon indicating copy to clipboard operation
nmap-completion copied to clipboard

Tab-complete filenames/paths for --script

Open dmiller-nmap opened this issue 10 years ago • 2 comments

Right now, --script will tab-complete names of scripts that can be found in Nmap's search path ($NMAPDIR/scripts/*.nse and ~/.nmap/scripts/*.nse) but doesn't work for absolute or relative paths to scripts in other locations.

dmiller-nmap avatar Feb 12 '15 15:02 dmiller-nmap

You may want to use --datadir if set. The Nmap man page also references an NMAPDATADIR too (although it looks deprecated).

batrick avatar Feb 12 '15 16:02 batrick

@batrick Yes, that's a "known bug" in the README. I haven't looked into how to examine more of the command line than the current and immediately preceding argument.

dmiller-nmap avatar Feb 12 '15 16:02 dmiller-nmap