1

I've installed nmap on macOS.

I'm not on Linux, I couldn't find the script directory. I ran

sudo nmap -sV --script vulners 69.164.220.111 

I kept getting the following error:

Starting Nmap 6.49BETA4 ( https://nmap.org ) at 2020-01-07 14:35 EST NSE: failed to initialize the script engine: /usr/local/bin/../share/nmap/nse_main.lua:801: 'vulners' did not match a category, filename, or directory stack traceback: [C]: in function 'error' /usr/local/bin/../share/nmap/nse_main.lua:801: in function 'get_chosen_scripts' /usr/local/bin/../share/nmap/nse_main.lua:1249: in main chunk [C]: in ? QUITTING! 

Do you know what I did wrong?

0

1 Answer 1

0

You did nothing wrong other than having a too old nmap.

The vulners NSE script was added to the release of Nmap 7.80 (2019-08-10) along with ten other NSE scripts. Your Nmap release is 6.49BETA4 (2015-07-06), several years out of date.

When writing the question, the current release of Nmap was 7.80, but the Homebrew package was not updated to that release until August 11th of the same year (from 7.70, so your installation was severely out of date anyway).

The current release of Nmap available in Homebrew at the time of this answer is 7.95 (2024-04-19).


From the release announcement (also found in the changelog):

Nmap 7.80 [2019-08-10] [...] o [NSE] Added 11 NSE scripts, from 8 authors, bringing the total up to 598! They are all listed at https://nmap.org/nsedoc/, and the summaries are below: [...] + [GH#1126] vulners queries the Vulners CVE database API using CPE information from Nmap's service and application version detection. [GMedian, Daniel Miller] 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.