
Nmap Development mailing list archives
Re: Tab completion in nse-scripts
From: Daniel Roberson <daniel () planethacker net>
Date: Fri, 12 Jan 2018 10:40:10 -0800
Hello Aniket! Tab completion is done via your shell, not Nmap. On the Ubuntu machine I am using right now: - bash: /usr/share/bash-completion/completions/nmap (bash-completion package) - zsh: /usr/share/zsh/functions/Completion/Unix/_nmap (zsh-common package) If you are using some other OS or distro, the locations and packages may be different, but this is where the magic happens. Hopefully this helps. Kind regards, - Daniel On Fri, Jan 12, 2018 at 10:19 AM, Aniket Pandey <aniketp () iitk ac in> wrote:
Hi folks! Recently, while I was using nse scripts I realized it did not have any tab-completion feature. While the same feature is offered in usual nmap scanning. For example,root@aniketp # nmap --pack<TAB>results inroot@aniketp # nmap --packet-traceBut nothing happened in case of :root@aniketp # nmap --script http-fet<TAB> ## (should've givenhttp-fetch) So I wanted to know if any such feature exists in NSE? If it doesn't, then I'd like to work on it, as it seems very handy when you have long queries and lots of script arguments. If it is desirable then I'd most definitely want to work on this feature, after I get a heads-up from someone. Thanks and Regards, Aniket _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Tab completion in nse-scripts Aniket Pandey (Jan 12)
- Re: Tab completion in nse-scripts Daniel Roberson (Jan 12)