Hi again, yes I have done all the things you mentioned. The problem was the method http_get_port() which worked when running the script from the terminal via openvas-nasl but not through the scanner. Is the scanner running a different nasl version as the cmd-line interpreter?
Mike > I try to develop my own NASL script and started off with a simple > one which gets a http Header in order to gather a certain > information. My problem is, that there are no reports generated in > the greenbone client, although messages are logged when called with > openvas-nasl interpreter. What are the prerequisits for a script in > order to generate a report in the web client? I compared my script > with the secspace_traceroute.nasl and cannot find the difference > which prevents my script from creating a report. All the > descriptions are set and treceroute only uses log_message() as well > as I do. Did you restart the scanner? Did you run "openvasmd --rebuild"? Do you have "nasl_no_signature_check = yes" in your openvassd.conf? Anything in openvassd.messages about your plugin? You could even send me the NVT via PM then i'll have a look... Micha
_______________________________________________ Openvas-plugins mailing list Openvas-plugins@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins