Thanks a lot matthew, works fine.
Le 26/07/2012 23:02, Matthew Mundell a écrit :
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
--
| Sébastien AUCOUTURIER | Software Design Engineer Lead
| ITrust | 55 rue l'Occitane BP 67303 31673 LABEGE CEDEX
| Email: s.aucoutur...@itrust.fr
| Fixe Sdt. 05.67.34.67.80 | Fax. 09.80.08.37.23
| IT Security Services & SaaS Editor
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel