How to do it...

  1. To install OpenVAS on Kali Linux use the apt install openvas command:
root@kali:~# apt-get install openvas
  1. Then use the openvas-setup command to set up OpenVAS, download the latest rules, create an admin user, and start up the various services:
root@kali:~# openvas-setup
  1. When the setup is finished, the OpenVAS manager, scanner, and GSAD services should be listening. To start OpenVAS, use the openvas-start command:
root@kali:~# openvas-startStarting OpenVas Servicesroot@kali:~#
  1. Before we can use OpenVAS inside msfconsole, we need to load the OpenVAS plugin using the load command:
msf > load openvas [*] Welcome to OpenVAS integration by kost and averagesecurityguy.[*] [*] OpenVAS integration requires a database connection. ...

Get Improving your Penetration Testing Skills now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.