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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.