-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenvas
More file actions
46 lines (34 loc) · 1.05 KB
/
openvas
File metadata and controls
46 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bash/sh
#Video Tutorial
https://youtu.be/sdpoZuFOuNY
#check system packages are up to data
sudo apt-get update && upgrade
#add the ppa repository
sudo add-apt-repository ppa:mrazavi/openvas
#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, gsa
sudo systemctl restart openvas-scanner
sudo systemctl restart openvas-manager
sudo systemctl restart openvas-gsa
#enable the services, manager, gsa
sudo systemctl enable openvas-scanner
sudo systemctl enable openvas-manager
sudo systemctl enable openvas-gsa
#check openvas processes status
ps aux | grep openvas
#Open browser
#Note: Don't use: localhost:4000
#Make sure https://
https://localhost:4000
or
your-server-ip:4000
#The default login ID and Password is "admin"