[Openvas-discuss] Some OpenVAS questions

Michael Meyer michael.meyer at intevation.de
Wed Oct 21 17:57:29 CEST 2009


*** Michiel van Es <michiele at info.nl> wrote:
> From: Jan-Oliver Wagner <Jan-Oliver.Wagner at greenbone.net>
> > OpenVAS-Client has options to create sql.
> > Try
> > OpneVAS-Client --help
> > for more and watch out for option "--sqlize-output".
> > 
> > Haven't tested this feature myself though.
> I tried it but I can not get the results in sql format?!
> I ran it like:
> OpenVAS-Client -q 9390 admin geheim007
> /root/scripts/audits/networks/bcm.txt -p -P -S bcm_results.sql

,---[ OpenVAS-Client --help ]
| -p, --list-plugins    Obtain list of plugins installed on the server
| -P, --list-prefs      Obtain list of server and plugin preferences
| [...]
| -S, --sqlize-output   Issue SQL output for -p and -P (experimental)

As you can see '-S' is only valid for '-p' and/or '-P'.

> But I don't get an .sql file..maybe I use it the wrong way?

You can use '-T xml', parse the XML-Report e.g. with perl and *then*
store the results in your database.


Maybe worth a look...



Michael Meyer                                         OpenPGP Key: 76E050B9
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück; AG Osnabrück, HR B 18998
Geschäftsführer:   Frank Koormann,  Bernhard Reiter,  Dr. Jan-Oliver Wagner

More information about the Openvas-discuss mailing list