Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[*] Rebuilding the module cache in the background...
msf > openvas_connect admin admin 192.168.1.21 9390 ok
[-] Unknown command: openvas_connect.
msf > load openvas
[*] Welcome to OpenVAS integration by kost and averagesecurityguy.
[*]
[*] OpenVAS integration requires a database connection. Once the
[*] database is ready, connect to the OpenVAS server using openvas_connect.
[*] For additional commands use openvas_help.
[*]
[*] Successfully loaded plugin: OpenVAS
msf > openvas_connect admin admin 192.168.1.21 9390 ok
[*] Connecting to OpenVAS instance at 192.168.1.21:9390 with username admin...
[+] OpenVAS connection successful
msf > openvas_report_import 9 8
[-] OpenVAS OMP: Error in OMP request/response
msf > exit
bperry@w00den-pickle:~/Projects/metasploit-framework$ git merge averagesecurityguy/master
Auto-merging lib/msf/core/db.rb
Merge made by the 'recursive' strategy.
lib/msf/core/db.rb | 2 +-
lib/openvas/openvas-omp.rb | 37 ++++++++++++++++++++-----------------
2 files changed, 21 insertions(+), 18 deletions(-)
bperry@w00den-pickle:~/Projects/metasploit-framework$ ./msfconsole -q
msf > load openvas
[*] Welcome to OpenVAS integration by kost and averagesecurityguy.
[*]
[*] OpenVAS integration requires a database connection. Once the
[*] database is ready, connect to the OpenVAS server using openvas_connect.
[*] For additional commands use openvas_help.
[*]
[*] Successfully loaded plugin: OpenVAS
msf > db_connect postgres:password@192.168.1.5/fdsafdsafdsafdsa
[*] Rebuilding the module cache in the background...
msf > openvas_connect admin admin 192.168.1.21 9390 ok
[*] Connecting to OpenVAS instance at 192.168.1.21:9390 with username admin...
[+] OpenVAS connection successful
msf > openvas_report_import 9 8
[*] Importing report to database.
msf > hosts
Hosts
=====
address mac name os_name os_flavor os_sp purpose info comments
------- --- ---- ------- --------- ----- ------- ---- --------
192.168.1.75 Unknown device
msf >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.