I have read the code of ospd-openvas, and i have found the openvas-scanner is launched via ospd-openvas, but i don’t care about the management of scanning or the high concurrency. So, would it be possible to run the nvts without ospd-openvas and get the result directly?
I hava one last question .If i code a script using the key method of ospd-openvas, will openvas-scanner run successfully through my script even if GVMD is not installed? And can i retrieve the complete scan results?
Below is a post about how to run a single NVT (.nasl script) via openvas-nasl command line. If you search the forum for terms such as "run single .nasl file" or ".nasl file command line" you will find other discussions about how to run an NVT from the command line. However, this will not return an XML-formatted report.
But how is the discovery phase handled here ? This is not what he wants to archive. The plan was to build a easy vulnerability scanner without management, and that is not possible. The GVMd has to much functionality to run the OpenVAS stand alone. That will simply not work. openvas-nasl is great for NVT development but not a scanner replacement