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
22.214.171.124.4.1.256126.96.36.1992695, 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 "188.8.131.52.4.1.256184.108.40.206713" /var/lib/openvas/plugins