Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab-complete filenames/paths for --script #2

Open
dmiller-nmap opened this issue Feb 12, 2015 · 2 comments
Open

Tab-complete filenames/paths for --script #2

dmiller-nmap opened this issue Feb 12, 2015 · 2 comments

Comments

@dmiller-nmap
Copy link

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
Copy link

batrick commented Feb 12, 2015

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

@dmiller-nmap
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants