-
打开metasploit,使用命令
load openvas
载入openvas插件 -
openvas_connect admin password 127.0.0.1 9390 ok
注意这里的ip使用的是127.0.0.1 即本地服务器的环回地址,端口使用的是9390而不是9392,当端口和ip输入错误不正确是会出现一下错误:[-] Error while running command openvas_connect: uninitialized constant OpenVASOMP::OMPConnectionError
Call stack:/usr/share/metasploit-framework/plugins/openvas.rb:195:in
rescue in cmd_openvas_connect' /usr/share/metasploit-framework/plugins/openvas.rb:189:in
cmd_openvas_connect’
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:523:inrun_command' /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:474:in
block in run_single’
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:468:ineach' /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:468:in
run_single’
/usr/share/metasploit-fra
在metasploit中使用openvas
最新推荐文章于 2024-05-05 19:30:40 发布