I've written a plugin, but OpenVAS doesn't seem to load it.  It runs from the 
openvas-nasl command line utility just fine, and if I purposefully add a piece 
of bad code to it, then when openvas-scanner starts, it throws an error, but if 
there's nothing wrong with it at all and openvas-scanner starts fine, my plugin 
isn't in the list of NVTs.  Is there something vital that I'm missing?  Here's 
the text of the plugin:

if (description) {
                script_id(1000000);
                script_version("0.1");
                script_name("Test Plugin");
                script_summary("My first plugin");
                script_category(ACT_GATHER_INFO);
                script_family("general");
                exit(0);
}

display('Testing.\n');
security_hole(port:0, data:'Testing');
exit(0);

The plugin is in /var/lib/openvas/plugins, which is where it should be, AFAIK.
_______________________________________________
Openvas-plugins mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins

Reply via email to