Am Dienstag, 24. Mai 2016, 12:48:15 schrieb Friedrich, Michael:
> 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?

no, that should be the same when build from the same openvas-libraries module.

Jan



> > 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...

-- 
Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-plugins mailing list
Openvas-plugins@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins

Reply via email to