Dear sirdice:Don't know how good it is but it should get you started: security/openvas
dear ryppn:
Had never used it but this is only a part of the scanner, I should have told you to install security/gvm. Then carefully read the pkg-message, if you missed it;i have installed openvas with "pkg install openvas" ..........i just find 3 command
pkg info -D gvm
. pkg install py311-shtab
root@fbsd-test:~ # su -m gvm -c "greenbone-nvt-sync"
Traceback (most recent call last):
File "/usr/local/bin/greenbone-nvt-sync", line 5, in <module>
from greenbone.feed.sync.main import main
File "/usr/local/lib/python3.11/site-packages/greenbone/feed/sync/main.py", line 22, in <module>
from greenbone.feed.sync.parser import CliParser
File "/usr/local/lib/python3.11/site-packages/greenbone/feed/sync/parser.py", line 10, in <module>
import shtab
ModuleNotFoundError: No module named 'shtab'
root@fbsd-test:~ # su -m gvm -c "greenbone-nvt-sync"
Trying to acquire lock on /var/lib/openvas/feed-update.lock
Acquired lock on /var/lib/openvas/feed-update.lock
⠼ Downloading Notus files from rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/vt-data/notus/ to
/var/lib/notus
{... downloading might take a while ...}
dear ryppn:
thanks. do you know some tools for remote scan Vulnerability in freebsd14.1 ? i just want to find a tools in freebsd14.1 ,and use it scan my client computer Vulnerability . thanks.
Dear sirDice :Had never used it but this is only a part of the scanner, I should have told you to install security/gvm. Then carefully read the pkg-message, if you missed it;pkg info -D gvm
.
You might get an error on one of the commands, it seems it's missing a dependency devel/py-shtab, justpkg install py311-shtab
After that the command should work:Code:root@fbsd-test:~ # su -m gvm -c "greenbone-nvt-sync" Traceback (most recent call last): File "/usr/local/bin/greenbone-nvt-sync", line 5, in <module> from greenbone.feed.sync.main import main File "/usr/local/lib/python3.11/site-packages/greenbone/feed/sync/main.py", line 22, in <module> from greenbone.feed.sync.parser import CliParser File "/usr/local/lib/python3.11/site-packages/greenbone/feed/sync/parser.py", line 10, in <module> import shtab ModuleNotFoundError: No module named 'shtab'
Code:root@fbsd-test:~ # su -m gvm -c "greenbone-nvt-sync" Trying to acquire lock on /var/lib/openvas/feed-update.lock Acquired lock on /var/lib/openvas/feed-update.lock ⠼ Downloading Notus files from rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/vt-data/notus/ to /var/lib/notus {... downloading might take a while ...}
Haven't finished the rest of the instructions yet.
Dear ryppn:The question should really be, what are your behaviours that make you vulnerable?
dear cmoerz:any "meta" table in your postgresql database? did the scripts that populate the database run properly? It looks like you might have an empty database?
Dear cmoerz :Are you sure that you successfully populated the gvmd database? Is that database consistent with the other configuration?
Previously, this was done via
I recommend checking the port's messages, as SirDice previously suggested:Code:su -m gvm gvmd -m
pkg info -D gvm
.