> omp -u admin -w admin --xml='<modify_config
> config_id="abe9e3bf-a54e-47d4-9534-7a3b4bad0654"><preference><nvt
> oid="1.3.6.1.4.1.25623.1.0.14259"/><name>Nmap (NASL
> wrapper)[checkbox]:Identify the remote
> OS</name><value>yes</value></preference></modify_config>'
>
>     <modify_config_response status_text="OK"
> status="200"></modify_config_response>
>
>
> but when i get_preferences , it remains not change, where is my fault ?

You have to base64 encode the value, so it should be "eWVz" for "yes".

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to