Hi Matthew

Thanks for the info, I got it to work now.

BTW. Is there any updates on the openvas.omplib python project?



Best regards

Tom Stage


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: 27. juli 2012 11:13
To: [email protected]
Cc: [email protected]
Subject: Re: [Openvas-discuss] openvas-cli

> This is the query I send to OMP:
>
> /usr/bin/openvas-cli -h localhost -u [MASKED] -w [MASKED] -i -X - << EOF
> <modify_config config_id="3e5777fd-91e2-47ed-a7a9-a049d5917a90">
>             <preference>
>                 <name>scanner[scanner]:vhosts</name>
>                 <value>TG9jYWxob3N0</value>
>             </preference>
>             <preference>
>                 <name>scanner[scanner]:vhosts_ip</name>
>                 <value>MTI3LjAuMC4x</value>
>             </preference>
> </modify_config>
> EOF

The Manager is built to accept one preference at a time.  So if you
separate this into two commands it should work.  Manager should really just
set the second one when there are two.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to