Bootstrap IT Home | Bootstrap IT Blog

Ready to learn how to extract useful insights from all the data around you without having to take years' worth of courses? Sometimes all you need is some quick and direct tools.
Take the full curriculum online for free:
"Teach Yourself Data Analytics in 30 Days:
Learn to use Python and Jupyter Notebooks by exploring fun, real-world data projects"

Teach Yourself Data Analytics in 30 Days cover

Lab setup data from the Pluralsight course on

Network Vulnerability Scanning with OpenVAS

David Clinton
NOTE: this course is a full update of the previous (2017) version.
Make sure the one you're viewing is the up-to-date version.

IMPORTANT UPDATE! [October 25, 2020] In the two or three months since the current version of the course came online, Greenbone has changed the command names in their CLI (and introduced one or two other possible bugs). This means that the video clips covering installation and setup, in their current form, are not going to work.
In the meantime, I've included a quick, temporary guide to getting started below:


Temporary workaround installation and setup process: By default, at this point, Kali Linux comes with Postgres version 12.3. When OpenVAS (and gvm) is installed, postgres is upgraded to version 13. The problem is that the gvm program is still looking for postgres on port 5432, but whenever there's more than one version of postgres installed on a computer, higher versions get different port mappings. version 13 will listen on 5433.
The simple solution is to edit the postgresql.conf file for both versions to make sure version 13 is listening on 5432 and version 12 is listening on anything else. Here's how I did that:
sudo nano /etc/postgresql/13/main/postgresql.conf
change the
port = 5433
line to read:
port = 5432
Then edit the version 12 config file:
sudo nano /etc/postgresql/12/main/postgresql.conf
so the port line has any value besides 5432.
The change should take effect with
sudo systemctl restart postgresql
After that, everything should be normal (although I haven't tested it all, yet).
When all that's done, you'll use these three commands to get everything set up:
sudo gvm-setup
sudo gvm-feed-update
sudo gvm-start

Check OpenVAS configuration and launch the service

Download a web app scan

Working with the OpenVAS command line

Building a mail server