diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 55670486a2..621169c45a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-05-27 Ramon Novoa + + * godmode/agentes/module_manager_editor_network.php, + include/functions_snmp_browser.php: Hide SNMP v3 passwords. + 2014-05-27 Vanessa Gil * operation/snmpconsole/snmp_view.php: Changed ACLs. All diff --git a/pandora_console/godmode/agentes/module_manager_editor_network.php b/pandora_console/godmode/agentes/module_manager_editor_network.php index 6fad59e2db..c07df89790 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_network.php +++ b/pandora_console/godmode/agentes/module_manager_editor_network.php @@ -171,7 +171,7 @@ $data = array(); $data[0] = __('Auth user'); $data[1] = html_print_input_text ('snmp3_auth_user', $snmp3_auth_user, '', 15, 60, true); $data[2] = __('Auth password') . ui_print_help_tip(__("The pass length must be eight character minimum."), true); -$data[3] = html_print_input_text ('snmp3_auth_pass', $snmp3_auth_pass, '', 15, 60, true); +$data[3] = html_print_input_password ('snmp3_auth_pass', $snmp3_auth_pass, '', 15, 60, true); $data[3] .= html_print_input_hidden('active_snmp_v3', 0, true); if ($snmp_version != 3) $table_simple->rowstyle['field_snmpv3_row1'] = 'display: none;'; push_table_simple($data, 'field_snmpv3_row1'); @@ -180,7 +180,7 @@ $data = array(); $data[0] = __('Privacy method'); $data[1] = html_print_select(array('DES' => __('DES'), 'AES' => __('AES')), 'snmp3_privacy_method', $snmp3_privacy_method, '', '', '', true); $data[2] = __('Privacy pass') . ui_print_help_tip(__("The pass length must be eight character minimum."), true); -$data[3] = html_print_input_text ('snmp3_privacy_pass', $snmp3_privacy_pass, '', 15, 60, true); +$data[3] = html_print_input_password ('snmp3_privacy_pass', $snmp3_privacy_pass, '', 15, 60, true); if ($snmp_version != 3) $table_simple->rowstyle['field_snmpv3_row2'] = 'display: none;'; push_table_simple($data, 'field_snmpv3_row2'); diff --git a/pandora_console/include/functions_snmp_browser.php b/pandora_console/include/functions_snmp_browser.php index e42da97dd5..524202e0a9 100644 --- a/pandora_console/include/functions_snmp_browser.php +++ b/pandora_console/include/functions_snmp_browser.php @@ -495,13 +495,13 @@ function snmp_browser_print_container ($return = false, $width = '95%', $height $table3->data[2][1] = ''.__('Auth user').''; $table3->data[2][2] = html_print_input_text ('snmp3_browser_auth_user', '', '', 15, 60, true); $table3->data[2][3] = ''.__('Auth password').''; - $table3->data[2][4] = html_print_input_text ('snmp3_browser_auth_pass', '', '', 15, 60, true); + $table3->data[2][4] = html_print_input_password ('snmp3_browser_auth_pass', '', '', 15, 60, true); $table3->data[2][4] .= html_print_input_hidden('active_snmp_v3', 0, true); $table3->data[5][0] = ''.__('Privacy method').''; $table3->data[5][1] = html_print_select(array('DES' => __('DES'), 'AES' => __('AES')), 'snmp3_browser_privacy_method', '', '', '', '', true); - $table3->data[5][2] = ''.__('privacy pass').''; - $table3->data[5][3] = html_print_input_text ('snmp3_browser_privacy_pass', '', '', 15, 60, true); + $table3->data[5][2] = ''.__('Privacy pass').''; + $table3->data[5][3] = html_print_input_password ('snmp3_browser_privacy_pass', '', '', 15, 60, true); $table3->data[6][0] = ''.__('Auth method').''; $table3->data[6][1] = html_print_select(array('MD5' => __('MD5'), 'SHA' => __('SHA')), 'snmp3_browser_auth_method', '', '', '', '', true);