function change_pass($old_encrypt_enable, $old_encrypt_pass, $old_encrypt_type, $new_encrypt_enable, $new_encrypt_pass, $new_encrypt_type) { modify_ForbiddenIPList($old_encrypt_enable, $old_encrypt_pass, $old_encrypt_type, $new_encrypt_enable, $new_encrypt_pass, $new_encrypt_type); modify_xss_record($old_encrypt_enable, $old_encrypt_pass, $old_encrypt_type, $new_encrypt_enable, $new_encrypt_pass, $new_encrypt_type); modify_js_desc(MY_JS_PATH, $old_encrypt_enable, $old_encrypt_pass, $old_encrypt_type, $new_encrypt_enable, $new_encrypt_pass, $new_encrypt_type); modify_js_desc(JS_TEMPLATE_PATH, $old_encrypt_enable, $old_encrypt_pass, $old_encrypt_type, $new_encrypt_enable, $new_encrypt_pass, $new_encrypt_type); }
} } } } } } } } } } } } if ($error === false) { //重加密记录 modify_js_desc($my_js_path, true, 'bluelotus', 'RC4', $encrypt_enable, $encrypt_pass, $encrypt_type); modify_js_desc($js_template_path, true, 'bluelotus', 'RC4', $encrypt_enable, $encrypt_pass, $encrypt_type); //安装完成,自杀 @unlink($_SERVER['SCRIPT_FILENAME']); @unlink('config-sample.php'); ?> <h1>安装成功</h1> <p>XSS平台安装成功,请点下方链接登录后台!</p> <p class="step"><a href="login.php" class="button button-large">登录</a></p> <?php } break; } function display_header() {