vulnersCom/nmap-vulners

nmap: vuln scanner [C]: in function 'error'

ALI-html opened this issue · 2 comments

hello every one i had this problem can any one help

nmap --script vulscan,nmap-vulners -sV ( IP)

Starting Nmap 7.93 ( https://nmap.org ) at 2022-11-14 17:13 CST
NSE: failed to initialize the script engine:
/usr/bin/../share/nmap/nse_main.lua:833: 'nmap-vulners' did not match a category, filename, or directory
stack traceback:
[C]: in function 'error'
/usr/bin/../share/nmap/nse_main.lua:833: in local 'get_chosen_scripts'
/usr/bin/../share/nmap/nse_main.lua:1344: in main chunk
[C]: in ?

Same error here.

Hello,

This error says the script is not found.

First of all, it is called vulners, so try using that instead of nmap-vulners
Then check which nmap you are using, where it stores the NSE scripts
Check the script in question is actually there