OpenVAS 9
预备工作
- 关闭selinux
setenforce 0
vim /etc/selinux/config
修改参数:SELINUX=disabled
- 安装依赖
yum install wget bzip2 texlive net-tools alien gnutls-utils
- 添加仓库
wget -q -O - https://www.atomicorp.com/installers/atomic | sh
输入yes
安装与配置
- 下载
yum install openvas
- 修改配置文件
vim /etc/redis.conf
把配置文件中被注释的两行取消注释
unixsocket /tmp/redis.sock
unixsocketperm 700
- 重起redis,Remote Dictionary Server 远程字典服务
systemctl enable redis && systemctl restart redis
- 启动openvas初始环境配置
openvas-setup
速度太慢了,可能需要翻墙
- 按照默认设置回车即可,后面需要设置账户密码
- https://:9392,进入网址
进不去的话
systemctl restart gsad.service
netstat -lnpt
看看他占用的端口是什么
比如http://127.0.0.1:9392
- 更新
#同步漏洞库
greenbone-nvt-sync
#同步其他数据
greenbone-scapdata-sync
- 启动定时任务
vi /etc/crontab
00 13 * * * root greenbone-nvt-sync
30 13 * * * root greenbone-scapdata-sync