我正在使用Kali 4.3.0,并试图在Metasploit中运行openVAS插件。OpenVAS (Version8.0)在端口9392上正常工作,metasploit也可以。这是错误日志:
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>'我怎样才能解决这个问题?
发布于 2016-06-19 14:34:38
不要连接到9392。相反,连接到9390
openvas_connect用户名密码localhost 9390 ok
发布于 2023-01-11 12:31:35
没有更多的OpenVas API可以连接到Metasploit,所以您无法连接到它。
如果端口80不可用,端口9392是Greenbone的备用端口。
https://security.stackexchange.com/questions/123451
复制相似问题