Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@badhonhitech
Forked from DevSecOpsGuy/OpenVas.sh
Created November 23, 2019 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badhonhitech/d7335c6b93ed5b93d5d70db5817ef52f to your computer and use it in GitHub Desktop.
Save badhonhitech/d7335c6b93ed5b93d5d70db5817ef52f to your computer and use it in GitHub Desktop.
OpenVAS 9 Vulnerability Scanner on Ubuntu 18.04 LTS
https://youtu.be/O3y4GfwGX_E
#add the ppa repo, update your 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