安装openvas: apt install openvas openvas-setup netstat -antp openvas-start Point your browser to , 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