我已经在我的 Mac OS X 上安装了 nmap 尝试过。
我不在Linux上,我找不到脚本目录。我跑了
sudo nmap -sV --script vulners 69.164.220.111
密码:
我不断得到
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!
你知道我做错了什么吗?
答案1
根据nmap --help
我的 MacBook Air:
--script=<Lua scripts>: <Lua scripts> is a comma separated list of
directories, script-files or script-categories
所以看起来你需要--script=vulners