Created
March 31, 2020 03:57
-
-
Save afahitech/67eb7d9a6ca1e27a15158214ed3d3c32 to your computer and use it in GitHub Desktop.
Set up OpenVas on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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