I can see the logs when .nasl files are synchronized from feed server. I can see the nvts using the GSA web pages also after rebuilding nvts. My questions: how to map the NVT from the web pages to the nasl files in feed server? Do we have any naming standard for NVTS? e.g.
gb_CESA-2017_1095_bind_centos7.nasl has the oid with
184.108.40.206.4.1.256220.127.116.112695, but How to know the file name with the oid
There is no relationship for most VTs (expect maybe a few newer ones using the Extending OID scheme) between the OID and the file name.
To know the file name with the oid you probably have a few options:
- Use “grep” to search on the file system for this specific OID
- Try to gather this information from the redis database, some info about the structure within redis is available at https://github.com/greenbone/openvas-scanner/blob/v21.4.4/doc/redis_data_model.md
Thanks @cfi , I’m using the first option.
grep -r "18.104.22.168.4.1.25622.214.171.124713" /var/lib/openvas/plugins