Error de Metasploit y Openvas (openvas_connect)

4

Estoy usando Kali 4.3.0 e intento ejecutar el complemento openVAS en Metasploit. OpenVAS (versión 8.0) funciona correctamente en el puerto 9392, las metasploit también están bien. Este es el registro de error:

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>'

¿Cómo puedo resolver este problema?

    
pregunta Sergey Pavlov 16.05.2016 - 17:34
fuente

1 respuesta

4

No se conecte al 9392. En su lugar, conéctese al 9390

  

openvas_connect nombre de usuario contraseña localhost 9390 ok

    
respondido por el Nipun Jaswal 19.06.2016 - 16:34
fuente

Lea otras preguntas en las etiquetas