Update Openvas Feeds

To ensure openvas 9 is kept up to date and running the latest tests,  you need to sync the nvt, scap and cert data.  The best way to do this is to create a script that sync's the necessary data.

Create a script under /usr/local/bin called update-openvas
  • vi /usr/local/bin/update-openvas
add the following contents to the file
  • /usr/sbin/greenbone-nvt-sync
  • /usr/sbin/greenbone-certdata-sync
  • /usr/sbin/greenbone-scapdata-sync
  • /usr/sbin/openvasmd --update --verbose --progress
  • /etc/init.d/openvas-manager restart
  • /etc/init.d/openvas-scanner restart
save the file and make it executeable
  • chmod a+x /usr/local/bin/update-openvas

run the script to make sure it works and that there are no errors
  • /usr/local/bin/update-openvas
add the script to cron to run daily
  • crontab -e
add the following contents
  • 1 1 * * * /usr/local/bin/update-openvas 1>/dev/null 2>/dev/null 
the above cronjob will be run at 1 minute past 1 every day


  1. Nice post.Thanks for sharing Information.....

    Morpheus tv apk is the very free and easily designed application which streams the movies videos and tv shows with high-quality it can be used for free.
    Android Box


Post a Comment

Popular posts from this blog

DSTV Now on Amazon Fire TV Stick

Raspberry PI - Temperature monitoring with Zabbix