首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Metasploit & openvas错误(openvas_connect)

Metasploit & openvas错误(openvas_connect)
EN

Security用户
提问于 2016-05-16 15:34:12
回答 2查看 3.5K关注 0票数 4

我正在使用Kali 4.3.0,并试图在Metasploit中运行openVAS插件。OpenVAS (Version8.0)在端口9392上正常工作,metasploit也可以。这是错误日志:

代码语言:javascript
复制
msf > openvas_connect admin admin 127.0.0.1 9392 ok
[*] Connecting to OpenVAS instance at 127.0.0.1:9392 with username admin...
[-] Error while running command openvas_connect: OpenVAS OMP: Error in OMP request/response

Call stack:
/usr/share/metasploit-framework/lib/openvas/openvas-omp.rb:110:in `rescue in sendrecv'
/usr/share/metasploit-framework/lib/openvas/openvas-omp.rb:100:in `sendrecv'
/usr/share/metasploit-framework/lib/openvas/openvas-omp.rb:178:in `auth_request_xml'
/usr/share/metasploit-framework/lib/openvas/openvas-omp.rb:251:in `login'
/usr/share/metasploit-framework/lib/openvas/openvas-omp.rb:132:in `initialize'
/usr/share/metasploit-framework/plugins/openvas.rb:192:in `new'
/usr/share/metasploit-framework/plugins/openvas.rb:192:in `cmd_openvas_connect'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:427:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:389:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:203:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:48:in `<main>'

我怎样才能解决这个问题?

EN

回答 2

Security用户

发布于 2016-06-19 14:34:38

不要连接到9392。相反,连接到9390

openvas_connect用户名密码localhost 9390 ok

票数 3
EN

Security用户

发布于 2023-01-11 12:31:35

没有更多的OpenVas API可以连接到Metasploit,所以您无法连接到它。

如果端口80不可用,端口9392是Greenbone的备用端口。

票数 0
EN
页面原文内容由Security提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://security.stackexchange.com/questions/123451

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档