I am beginning to look into writing NVTs, however I’m curious as to how people develop and test NVTs.
Particularly, I find it slow and cumbersome to test the NVTs, as it often involves copying the NVT I’m working on into a docker container (running openvas), running a rebuild, and then repeatedly running full scans (thus invoking all 50k NVTs I have from the community feed)
Is there a way that you can test one specific NVT? (as well as it somehow automatically resolving all of the NVT’s dependencies?
It would be great if I could do something like:
nvt-tester /path/to/my/nvt.nasl --target=192.168.0.40 --username=TestDomain\Administrator --password=Password123
Something where I can repeatedly tweak the NVT, and then hit that command to show me the output for a particular host.