Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) Safe-mode: OFF (not secure) /var/www/html/admin/webmail/plugins/password/ drwxr-xr-x |
Viewing file: Select action/file-type: /* Password change interface (tab) */ if (window.rcmail) { rcmail.addEventListener('init', function(evt) { // <span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span> var tab = $('<span>').attr('id', 'settingstabpluginpassword').addClass('tablink'); var button = $('<a>').attr('href', rcmail.env.comm_path+'&_action=plugin.password').html(rcmail.gettext('password')).appendTo(tab); button.bind('click', function(e){ return rcmail.command('plugin.password', this) }); // add button and register commands rcmail.add_element(tab, 'tabs'); rcmail.register_command('plugin.password', function() { rcmail.goto_url('plugin.password') }, true); rcmail.register_command('plugin.password-save', function() { var input_curpasswd = rcube_find_object('_curpasswd'); var input_newpasswd = rcube_find_object('_newpasswd'); var input_confpasswd = rcube_find_object('_confpasswd'); if (input_curpasswd && input_curpasswd.value=='') { alert(rcmail.gettext('nocurpassword', 'password')); input_curpasswd.focus(); } else if (input_newpasswd && input_newpasswd.value=='') { alert(rcmail.gettext('nopassword', 'password')); input_newpasswd.focus(); } else if (input_confpasswd && input_confpasswd.value=='') { alert(rcmail.gettext('nopassword', 'password')); input_confpasswd.focus(); } else if ((input_newpasswd && input_confpasswd) && (input_newpasswd.value != input_confpasswd.value)) { alert(rcmail.gettext('passwordinconsistency', 'password')); input_newpasswd.focus(); } else { rcmail.gui_objects.passform.submit(); } }, true); }) } |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0042 ]-- |