CENTOS7搭建openvas扫描系统及openvas使用教程 原

【how to install】

step1:修改网络配置,让服务器可以联网
#vi /etc/sysconfig/network-scripts/ifcfg-eth0 
ONBOOT=yes

step2:更新yum库安装wget软件
#yum update
# yum install wget

step3:添加Atomicorp 仓库并安装openvas
#wget -q -O - http://www.atomicorp.com/installers/atomic |sh
#yum -y install openvas
# openvas-setup
username|password:admin|admin
https://<IP>:9392


step4:修改redis配置,并重启redis
# vi /etc/redis.conf 
//uncomment the following:
unixsocket /tmp/redis.sock
unixsocketperm 700
//Restart Redis:
#systemctl enable redis && systemctl restart redis

step5:检查是否安装成功

# openvas-check-setup --v9

step6:配置防火墙
# firewall-cmd --permanent --add-port=9392/tcp
# firewall-cmd --reload
# firewall-cmd --list-port

# systemctl restart firewalld.service

step7:浏览器访问

注意一定是https,http无法访问

https://192.168.213.138:9392/

【使用教程】

创建扫描任务进行扫描

step1:配置targets
configuration->targets->New Target
hosts部分格式->Manual:
192.168.213.1-192.168.213.254
或:
192.168.213.1,192.168.213.20,192.168.213.14
其他部分可以选择默认
step2:创建扫描任务Tasks
scans->tasks->new task
Scan Targets绑定刚刚配置的target提交

step3:启动扫描任务
tasks列表,actions列有启动按钮。

忘记密码怎么办:
# openvasmd --create-user=admin1 --role=Admin

【官方网址及参考文章】
https://forums.atomicorp.com/viewtopic.php?f=31&t=8539#p44057
http://www.atomicorp.com/
http://www.openvas.org/
https://www.jianshu.com/p/71902ee51c3f
https://www.freebuf.com/column/158357.html
http://blog.51cto.com/redone/1907599
https://forums.atomicorp.com/viewtopic.php?f=31&t=8539#p44057

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章