Hi Christian, omp is old and will be replaced with the new gvm-tools. You can find instructions how to use the tools and the downloadlink here:
https://bitbucket.org/greenbone/gvm-tools After successful installation you can use this command for equivalent result: gvm-cli tls --hostname HOSTNAME --gmp-username USER --gmp-password PASS -X "<get_info type='CPE'/>" If you running into problems please tell us. Best regards Raphael Grewe On Fri, 9 Jun 2017 11:05:22 +0000 "Ebert, Christian" <[email protected]> wrote: > Hi everyone, > > > > We use OpenVAS 8 with Debian 9. > > > > I try to export the CPE definitions to xml using the statement: > > > > omp --username=$ADM --password=$ADMPW -iX "<get_info type='CPE'/>" > > > > Basically it works fine. I get a XML output with the CPE definitions. > > > > But: > > (Part of the XML-Result) > > > > <info > id="cpe:/a:chialab_&_channelweb:bedita:3.0.1.2550_"betula""> > > <owner> > > <name></name> > > </owner> > > > <name>cpe:/a:chialab_&_channelweb:bedita:3.0.1.2550_"betula"</ > name> > > > > When filling the <name>, the ampersand and the quote inside the name > are escaped. But in <id> they are not. > > > > So all XML tools fail, when trying to process this XML-file. > > > > Fixing all these missing quotes with an editor helps. > > > > Could somebody look at this, please? > > > > Best regards > > > > Christian Ebert > > Chief Security Analyst, CISM, T.I.S.P. > > Head of Penetration Testing > > > > QSC AG > > Mathias-Brüggen-Straße 55 > > 50829 Köln > > > > T +49 221 669-8950 > > F +49 221 669-85950 > > M +49 163 6698950 > > [email protected] > > http:// <http://www.qsc.de/> www.qsc.de > > > > Besuchen Sie auch unser Blog unter <http://blog.qsc.de/> > http://blog.qsc.de > > > Bitte finden Sie hier die handelsrechtlichen Pflichtangaben: > > <http://www.qsc.de/pflichtangaben> http://www.qsc.de/pflichtangaben > > > _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
