安装openvas:
apt install openvas
openvas-setup
netstat -antp
openvas-start
Point your browser to https://127.0.0.1:9392, accept the self signed SSL certificate and plugin the credentials for the admin user. The admin password was generated during the setup phase (look at the output above if you missed it).


生成证书:
openvas-mkcert -q
openvas-mkcert-client -n om -i

升级NVT库:
openvas-nvt-sync

初始化:
openvassd
openvasmd --migrate
openvasmd --rebuild

管理员登录用户:
openvasad -c 'add_user' -n admin -r 'Admin'

启动scanner:
openvassd --listen=127.0.0.1 --port=9391

启动manager:
openvasmd --database=/usr/local/var/lib/openvas/mgr/tasks.db --slisten=127.0.0.1 --sport=9391 --listen=0.0.0.0 --port=9390

验证安装:
openvas-check-setup

转载于:https://www.cnblogs.com/itholidaycn/p/6397048.html

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐