Setup step on ubuntu
apt update && apt upgrade
apt install python-software-properties
apt install sqlite3
apt install software-properties-common
apt install python-software-properties
add-apt-repository ppa:mrazavi/openvas
apt-get update
apt-get install openvas9
apt install libopenvas9-dev      ### if you want to develop
apt install texlive-latex-extra --no-install-recommends  ### For PDF reports
apt install texlive-fonts-recommended                   ### For PDF font

 

# Get updated signatures/rules
/usr/sbin/greenbone-nvt-sync
/usr/sbin/greenbone-scapdata-sync
/usr/sbin/greenbone-certdata-sync

# Restart services
sudo service openvas-scanner restart
sudo service openvas-manager restart
sudo openvasmd --rebuild --progress

# Firewall if applicable
sudo ufw allow ssh
sudo ufw allow 4000/tcp
sudo ufw enable

# Set admin user password, default is "admin"
openvasmd --new-password="--------" --user=admin

 

referece: 

https://gist.github.com/droberson/77b030cdefb731f6ab1b88a453e5ca47

 

文章標籤

創作者介紹
創作者 yuic123 的頭像
yuic123

Something's NoteBook on Cloud

yuic123 發表在 痞客邦 留言(0) 人氣()