yu210148/gvm_install

New GVM 21 install on Debian 10.11 has no scanner config

XaeroTheHero opened this issue · 2 comments

In trying to get this to work, I did a clean install of Debian 10.11, then ran suggested default installation:

apt install sudo
usermod -aG sudo # add your user to the sudoer's group
wget https://raw.githubusercontent.com/yu210148/gvm_install/master/install_gvm.sh
chmod +x install_gvm.sh
sudo -i
./install_gvm.sh

Install completed fine, feed updated fine and GUI works fine. When trying to start a new scan, there's no default scanner config available, and in place there's a random string (See below image link). When trying to add a new scanner config, exception is thrown with message that "said random string" could not be updated.

https://imgur.com/oVjfdt4

Which linux dist and version does this script work with out of the box? Ubuntu 20.04.3 with GVM 21 did not work either, reports are just empty, even after trying the suggested manual fix in regards to NMAP.

I am not sure what happened here exactly, but when I re-ran feed update manually according to below, it now has all the default scanner configs.

c) /opt/gvm/sbin/greenbone-feed-sync --type SCAP
d) /opt/gvm/bin/greenbone-nvt-sync
e) /opt/gvm/sbin/greenbone-feed-sync --type CERT
f) /opt/gvm/sbin/greenbone-feed-sync --type GVMD_DATA
g) /usr/bin/sudo /opt/gvm/sbin/openvas --update-vt-info