Tab-complete filenames/paths for --script
Opened this issue · 2 comments
dmiller-nmap commented
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.
batrick commented
You may want to use --datadir
if set. The Nmap man page also references an NMAPDATADIR too (although it looks deprecated).
dmiller-nmap commented
@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.