Skip to content

Instantly share code, notes, and snippets.

@afahitech
Created March 31, 2020 03:57
Show Gist options
  • Select an option

  • Save afahitech/67eb7d9a6ca1e27a15158214ed3d3c32 to your computer and use it in GitHub Desktop.

Select an option

Save afahitech/67eb7d9a6ca1e27a15158214ed3d3c32 to your computer and use it in GitHub Desktop.
Set up OpenVas on Ubuntu
# add the ppa repository, update system
sudo add-apt-repository ppa:mrazavi/openvas
sudo apt-get update
#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. The default login credentials are: “admin” as username and password.
https://localhost:4000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment