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

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