Errore Metasploit & Openvas (openvas_connect)

4

Sto usando Kali 4.3.0 e sto provando a eseguire il plugin openVAS in Metasploit. OpenVAS (versione 8.0) funziona correttamente sulla porta 9392, anche metasploit è ok. Questo è log of 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>'

Come posso risolvere questo problema?

    
posta Sergey Pavlov 16.05.2016 - 17:34
fonte

1 risposta

4

Non connettersi a 9392. Collegati invece a 9390

openvas_connect username password localhost 9390 ok

    
risposta data 19.06.2016 - 16:34
fonte

Leggi altre domande sui tag