Hi team,
i do the following :
omp -u admin -w admin
--xml='<create_config><copy>daba56c8-73ec-11df-a475-002264764cea</copy><name>test</name></create_config>'
<create_config_response id="abe9e3bf-a54e-47d4-9534-7a3b4bad0654"
status_text="OK, resource created"
status="201"></create_config_response>
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 ?
omp -u admin -w admin --xml='<get_preferences
config_id="abe9e3bf-a54e-47d4-9534-7a3b4bad0654"
nvt_oid="1.3.6.1.4.1.25623.1.0.14259"/>' --pretty-print
....
<preference>
<nvt oid="1.3.6.1.4.1.25623.1.0.14259">
<name>Nmap (NASL wrapper)</name>
</nvt>
<name>Identify the remote OS</name>
<type>checkbox</type>
<value></value>
</preference>
....
--
| 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