*** Michiel van Es <[email protected]> wrote: > From: Michael Meyer <[email protected]>
> >> 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. > > I tried it with: > OpenVAS-Client -q 127.0.0.1 9390 admin geheim007 > /root/scripts/audits/networks/bcm.txt -p -P -S -T xml bcm_results.xml > > But got no bcm_results.xml :( > Only ouput to screen ,---| | OpenVAS-Client -T xml -q 127.0.0.1 9390 <user> <pass> /path/to/targetFile /path/to/result.xml `---| and you get a result.xml. ,---[ result.xml ] | <?xml version="1.0" encoding="iso-8859-1"?> | <?xml-stylesheet type="text/xsl" href="openvas-report.xsl"?> | <openvas-report version="1.0"> | <info> | <openvasd> | <version></version> | <openvas-libnasl>3.0.0.beta4</openvas-libnasl> | <openvas-libraries>3.0.0.beta4</openvas-libraries> | <thread>fork</thread> | </openvasd> | [...] `---| It seems not to be possible to use both '-p' and '-P' at the same time. If i use both i only get the list of server and plugin preferences. '-S' seems also not to work with '-P'. I get non-SQL output for '-S -P'. '-S -p' works as expected. ,---| | m...@kira:~ % OpenVAS-Client -p -S -q 127.0.0.1 9390 <user> <pass> | DROP TABLE IF EXISTS plugins; | CREATE TABLE plugins ( | [...] `---| Micha -- Michael Meyer OpenPGP Key: 76E050B9 http://www.intevation.de 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 _______________________________________________ Openvas-discuss mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
