OpenVAS 漏洞评估系统 快速安装与使用
Docker安装openvas(实测)
1.确保系统中安装有docker
2.拉取镜像:docker pull immauss/openvas
3.a 运行镜像(没有持久卷):docker run --detach --publish 8080:9392 -e PASSWORD="123456" --name openvas immauss/openvas
注:–detach 后台运行,–publish指定端口映射
3.b 如果需要持久数据则需要先创建一个数据卷docker volume create openvas,然后运行镜像docker run --detach --publish 8080:9392 -e PASSWORD="Your admin password here" --volume openvas:/data --name openvas immauss/openvas
4.查看docker关于openvas的日志看是否安装完成
docker logs openvas
你可以使用任何--name你喜欢的东西,但为了本指南的目的,我们使用的是 openvas。
该--publish 8080:9392选项会将8080主机上的端口转发到9392 docker 容器中的(容器 Web 界面端口)。选择端口8080只是为了避免与任何现有的 OpenVAS/GVM 安装冲突。您可以更改为您8080想要的任何可用端口。
根据您的硬件,扫描 NVT 并重建数据库可能需要几秒钟到 30 分钟不等。
每次容器启动时,NVT 都会更新。即使您让容器 24/7 全天候运行,更新 NVT 的最简单方法是重新启动容器。
docker restart openvas
这里要注意,创建完后无法立刻访问,需要等待很久,因为太后数据未更新完成,系统无法访问!
文章来源:https://immauss.github.io/openvas/
https://zhan1024.top/2021/03/26/openvas%E5%BC%B1%E7%82%B9%E6%89%AB%E6%8F%8F%E5%99%A8/
https://hub.docker.com/r/immauss/openvas
https://github.com/immauss/openvas
布施恩德可便相知重
微信扫一扫打赏
支付宝扫一扫打赏