Bugs item #2649, was opened at 2011-09-05 07:23 Status: Open Priority: 3 Submitted By: Jose Ángel Hernández Blanco (jahernandez) Assigned to: Nobody (None) Summary: "modify_config" OMP command doesn't work Architecture: 64 Bit Resolution: None Severity: critical Version: None Component: openvas-manager Operating System: Linux Product: OpenVAS Hardware: None URL:
Initial Comment: Hello, we have a problem with command "modify_config", we can't modify SSH credentials for the nvt_oid 1.3.6.1.4.1.25623.1.0.90022. We use Debian 5. These are the outputs of the commands: /usr/bin/omp -h 192.168.12.28 -p 9390 -u jahernandez -w jahernandez -iX "<get_configs/>" .... <config id="643fe0d6-98f1-487e-9ed5-e741fe5b9a25"> <name>Linux</name> <comment>admin</comment> <family_count>0 <growing>0</growing> </family_count> <nvt_count>6766 <growing>1</growing> </nvt_count> <in_use>0</in_use> <tasks></tasks> </config> .... /usr/bin/omp -h 192.168.12.28 -p 9390 -u jahernandez -w jahernandez -iX '<get_preferences config_id="643fe0d6-98f1-487e-9ed5-e741fe5b9a25" nvt_oid="1.3.6.1.4.1.25623.1.0.90022"/>' <get_preferences_response status="200" status_text="OK"> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>Use per-target login information</name> <type>checkbox</type> <value>no</value> </preference> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>SSH login name:</name> <type>entry</type> <value>sshovas</value> </preference> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>SSH private key:</name> <type>file</type> <value></value> </preference> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>SSH public key:</name> <type>file</type> <value></value> </preference> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>SSH key passphrase:</name> <type>password</type> <value></value> </preference> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>SSH password (unsafe!):</name> <type>password</type> <value></value> </preference> <preference> <nvt oid="1.3.6.1.4.1.25623.1.0.90022"> <name>SSH Authorization</name> </nvt> <name>Keys:</name> <type>sshlogin</type> <value>-</value> </preference> </get_preferences_response> /usr/bin/omp -h 192.168.12.28 -p 9390 -u jahernandez -w jahernandez -iX '<commands><modify_config config_id="643fe0d6-98f1-487e-9ed5-e741fe5b9a25"><preference><name>SSH Authorization[password]:SSH password (unsafe!):</name><value>Vmllcm5lcw==</value></preference></modify_config></commands>' <commands_response status="200" status_text="OK"> <modify_config_response status="200" status_text="OK"></modify_config_response> </commands_response> The SSH password doesn't change, so I can't do scans with SSH credentials ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=220&aid=2649&group_id=29 _______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org http://lists.wald.intevation.org/mailman/listinfo/openvas-devel