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
220.127.116.11.4.1.25618.104.22.1682695, 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 "22.214.171.124.4.1.256126.96.36.199713" /var/lib/openvas/plugins