Skip to content

Instantly share code, notes, and snippets.

@linuxdevhub
Last active April 20, 2020 17:33
Show Gist options
  • Save linuxdevhub/6a484e787782b1196b7395a833b7197d to your computer and use it in GitHub Desktop.
Save linuxdevhub/6a484e787782b1196b7395a833b7197d to your computer and use it in GitHub Desktop.
# OpenVAS is a software framework of several services and tools offering vulnerability scanning
# and vulnerability management.
Youtube: https://youtu.be/leOPbzgg7oA
# add the ppa repo, update your system
sudo add-apt-repository ppa:mrazavi/openvas
sudo apt update
sudo apt upgrade
# install the required packages
sudo apt install sqlite3
sudo apt install openvas9
sudo apt install texlive-latex-extra --no-install-recommends
sudo apt install texlive-fonts-recommended
sudo apt install libopenvas9-dev
# Update the network vulnerability tests database.
sudo greenbone-nvt-sync
sudo greenbone-scapdata-sync
sudo greenbone-certdata-sync
# Restart the OpenVAS scanner, manager and security assistant.
sudo systemctl restart openvas-scanner
sudo systemctl restart openvas-manager
sudo systemctl restart openvas-gsa
# Enable the services
sudo systemctl enable openvas-scanner
sudo systemctl enable openvas-manager
sudo systemctl enable openvas-gsa
# Confirm that the openvas processes are running.
ps aux | grep openvas
# Go to IP_address_of_server:4000. And use login credential.
# note: please make sure its https, not http.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment