修改这个后:OK
chmod 666 /var/log/gvm/openvas.log
sudo gvm-feed-update
使用升级解决
sudo apt-get install gvm 安装gvm
sudo gvm-setup 初始化gvm
sudo gvm-check-setup 检查openvas 是否安装成功
sudo gvm-feed-update 升级漏洞库
sudo gvm-start 启动openvas
sudo -u _gvm gvmd --user=admin --new-password=123456
修改web 账号admin 密码为123456
vim /etc/apt/sources.list
#原来的
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib
#根据需要自己选一个
#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
#阿里云
#deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#清华大学
#deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#浙大
#deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#东软大学
#deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#重庆大学
#deb http://http.kali.org/kali kali-rolling main non-free contrib
‘’
修改完后:
apt-get update 更新索引
apt-get upgrade 更新软件
apt-get dist-upgrade 升级
apt-get clean 删除缓存包
apt-get autoclean 删除未安装的deb包
gvmd --version
/var/lib/gvm/data-objects/gvmd/
ex : cd /22.14
sudo cp scan-configs configs
新的GVM生成的是scan-configs ,但是网页提取的还是 configs 目录
greenbone-feed-sync --type GVMD_DATA