A Docker container for OpenVAS 7 on the Ubuntu 14.04 phusion/baseimage. By default, the latest images includes the OpenVAS Base as well as the NVTs and Certs required to run OpenVAS. We also package a version without NVTs and Certs if you want to sync them in realtime.
Docker Ports available: 443, 9390, 9391
There are now a number of OpenVAS 7 images you can choose from:
Note: This was recently changed to force base updates and improve container linking. We are now utilizing 2 docker hub repos rather than 1.
Simply run:
docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 mikesplain/openvas
This will grab the container from the docker registry and start it up. Openvas startup can take some time (2-3 minutes whilte NVT's are scanned and databases rebuilt), so be patient. That being said, the web UI should be available almost immediately. Goto https://<machinename>
Username: admin
Password: openvas
To check the status of the process, run:
docker top mikesplain/openvas
In the output, look for the process scanning cert data. It contains a percentage.
To run bash inside the container run:
docker exec -it <container id> bash
This image was recently updated into 2 main versions. The base build sets up OpenVAS in a condensed format to make it quicker to download. It also creates necessary scripts for startup to start NVT and Cert syncing.
With that in mind, syncing of data occurs via wget, curl and rsync. In certain environments, one or many of those connections may not be possible. For these cases, we also build the "full" version of OpenVAS which includes the needed NVTs and Certs. Docker compressions of images really helps here and compresses nearly 1 GB of images into ~150 MB.
These changes allowed me to reduce the size of the image by almost 2 GB.
If at any point you believe NVTs and/or Certs need to be updated, please put in a pull request with a simple change like this:
# Fork Repo and git clone
git checkout -b update_nvts_and_certs
echo `date` > build
git commit -am "Please update NVTs and Certs"
git push
# Open PR
I'm always happy to accept pull requests or issues.
Thanks to hackertarget for the great tutorial: http://hackertarget.com/install-openvas-7-ubuntu/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。