Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
- <meta http-equiv="Pragma" content="no-cache">
- <meta name="generator" content="GoLive CyberStudio 3">
- <title>.::Welcome to the Web-Based Configurator::.</title>
- <script src="../js/jquery-1.6.3.min.js" type="text/javascript"></script>
- <script src="../js/jquery.validate.pack.js" type="text/javascript"></script>
- <script type="text/javascript" src="../js/Multi_Language.js"></script>
- <script type="text/javascript" src="../js/common.js"></script>
- <script type="text/javascript">
- $.ajaxSetup({
- 'beforeSend': function(xhr) {
- xhr.setRequestHeader("If-Modified-Since", "0");
- xhr.setRequestHeader("Cache-Control", "no-cache");
- xhr.setRequestHeader("Pragma", "no-cache");
- xhr.setRequestHeader("Expires", "0");
- }
- });
- $(function(){
- function showTroubleShooting(src){ var content = '<iframe frameborder=0 src="' + src + '" style=" width:100%; height:360px; ">'
- $.modal(content, {
- escClose: false,
- opacity: 85,
- position: ['140px'],
- containerCss: {
- backgroundImage:"url(../images/bg.gif)",
- //backgroundColor:"#fff",
- height: 360,
- padding: 0,
- width: 700
- }
- });
- }
- if (window.location.search.substring(1) == 'th=1')
- showTroubleShooting("troubleshooting.html");
- if (window.location.search.substring(1) == 'th=5')
- showTroubleShooting("message.html");
- });
- var urlstring=top.location.href
- var strarray = urlstring.split('/');
- if(strarray.length > 4 && strarray[4] != "login.html"){
- var newurl =strarray[0]+"//"+strarray[2];
- top.location.href=newurl;
- }
- var END_OF_INPUT = -1;
- var base64Chars = new Array(
- 'A','B','C','D','E','F','G','H',
- 'I','J','K','L','M','N','O','P',
- 'Q','R','S','T','U','V','W','X',
- 'Y','Z','a','b','c','d','e','f',
- 'g','h','i','j','k','l','m','n',
- 'o','p','q','r','s','t','u','v',
- 'w','x','y','z','0','1','2','3',
- '4','5','6','7','8','9','+','/'
- );
- var base64Str;
- var base64Count;
- function setBase64Str(str){
- base64Str = str;
- base64Count = 0;
- }
- function readBase64(){
- if (!base64Str) return END_OF_INPUT;
- if (base64Count >= base64Str.length) return END_OF_INPUT;
- var c = base64Str.charCodeAt(base64Count) & 0xff;
- base64Count++;
- return c;
- }
- function encodeBase64(str){
- setBase64Str(str);
- var result = '';
- var inBuffer = new Array(3);
- var lineCount = 0;
- var done = false;
- while (!done && (inBuffer[0] = readBase64()) != END_OF_INPUT){
- inBuffer[1] = readBase64();
- inBuffer[2] = readBase64();
- result += (base64Chars[ inBuffer[0] >> 2 ]);
- if (inBuffer[1] != END_OF_INPUT){
- result += (base64Chars [(( inBuffer[0] << 4 ) & 0x30) | (inBuffer[1] >> 4) ]);
- if (inBuffer[2] != END_OF_INPUT){
- result += (base64Chars [((inBuffer[1] << 2) & 0x3c) | (inBuffer[2] >> 6) ]);
- result += (base64Chars [inBuffer[2] & 0x3F]);
- } else {
- result += (base64Chars [((inBuffer[1] << 2) & 0x3c)]);
- result += ('=');
- done = true;
- }
- } else {
- result += (base64Chars [(( inBuffer[0] << 4 ) & 0x30)]);
- result += ('=');
- result += ('=');
- done = true;
- }
- lineCount += 4;
- if (lineCount >= 76){
- result += ('\n');
- lineCount = 0;
- }
- }
- return result;
- }
- var hexcase = 0;
- var chrsz = 8;
- function hex_md5(s){
- return binl2hex(core_md5(str2binl(s), s.length * chrsz));
- }
- function core_md5(x, len) {
- x[len >> 5] |= 0x80 << ((len) % 32);
- x[(((len + 64) >>> 9) << 4) + 14] = len;
- var a = 1732584193;
- var b = -271733879;
- var c = -1732584194;
- var d = 271733878;
- for(var i = 0; i < x.length; i += 16) {
- var olda = a;
- var oldb = b;
- var oldc = c;
- var oldd = d;
- a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
- d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
- c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);
- b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
- a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
- d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);
- c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
- b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
- a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);
- d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
- c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
- b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
- a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);
- d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
- c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
- b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);
- a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
- d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
- c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);
- b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
- a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
- d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);
- c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
- b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
- a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);
- d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
- c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
- b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);
- a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
- d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
- c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);
- b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
- a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
- d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
- c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);
- b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
- a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
- d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);
- c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
- b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
- a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);
- d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
- c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
- b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);
- a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
- d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
- c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);
- b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
- a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
- d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);
- c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
- b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
- a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);
- d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
- c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
- b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
- a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);
- d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
- c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
- b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);
- a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
- d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
- c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);
- b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
- a = safe_add(a, olda);
- b = safe_add(b, oldb);
- c = safe_add(c, oldc);
- d = safe_add(d, oldd);
- }
- return Array(a, b, c, d);
- }
- function md5_cmn(q, a, b, x, s, t) {
- return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
- }
- function md5_ff(a, b, c, d, x, s, t) {
- return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
- }
- function md5_gg(a, b, c, d, x, s, t) {
- return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
- }
- function md5_hh(a, b, c, d, x, s, t) {
- return md5_cmn(b ^ c ^ d, a, b, x, s, t);
- }
- function md5_ii(a, b, c, d, x, s, t) {
- return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
- }
- function safe_add(x, y) {
- var lsw = (x & 0xFFFF) + (y & 0xFFFF);
- var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
- return (msw << 16) | (lsw & 0xFFFF);
- }
- function bit_rol(num, cnt) {
- return (num << cnt) | (num >>> (32 - cnt));
- }
- function str2binl(str) {
- var bin = Array();
- var mask = (1 << chrsz) - 1;
- for(var i = 0; i < str.length * chrsz; i += chrsz) {
- bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);
- }
- return bin;
- }
- function binl2hex(binarray) {
- var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";
- var str = "";
- for(var i = 0; i < binarray.length * 4; i++) {
- str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) + hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);
- }
- return str;
- }
- function uiApply()
- {
- var username = document.passWarning.Loginuser.value;
- var passwd = document.passWarning.LoginPassword.value;
- if (username=="" || username.length <2){
- //alert(document.getElementById("WAN_Empty_Error_2").innerHTML);
- alert(document.getElementById("MLG_Pass_Warn9_Txt").innerHTML);
- return false;
- }
- if (passwd=="" || passwd.length >64){
- //alert(document.getElementById("Password_Errors_3").innerHTML);
- alert(document.getElementById("MLG_Pass_Warn8_Txt").innerHTML);
- return false;
- }
- if(username == document.passWarning.last_username0.value){
- if(document.passWarning.status0.value == "1"){
- }
- else{
- return false;
- }
- }
- if(username == document.passWarning.last_username1.value){
- if(document.passWarning.status1.value == "1"){
- }
- else{
- return false;
- }
- }
- //passwd=hex_md5(passwd);
- var sid = "3ef6cdea";
- passwd=hex_md5(sid+":"+passwd);
- var string=username+":"+passwd;
- document.passWarning.LoginPassword.value="";
- var passd=encodeBase64( string);
- document.passWarning.action="/cgi-bin/index.asp?"+passd;
- //alert(document.passWarning.action);
- document.passWarning.submit();
- }
- function frmLoad () {
- var login_ret = "0";
- if (login_ret != "0") {
- $("#Message").html("<font color='#DD0000'>The username or password is not correct.Authorization will be failed after trying 3 times!!!..</font>");
- }
- }
- $(document).ready(function() {
- Multi_Language();
- });
- function Multi_Language(){
- var Language="Portugal";
- var language_Index = get_language_index(Language);
- document.getElementById("Welcome_Login").innerHTML = MLG_Welcome_Login[language_Index];
- document.getElementById("WelcomeTo_Login").innerHTML = MLG_WelcomeTo_Login[language_Index];
- document.getElementById("ExplainText_Login").innerHTML = MLG_ExplainText_Login[language_Index];
- document.getElementById("Username_Login").innerHTML = MLG_Username_Login[language_Index];
- document.getElementById("Password_Login").innerHTML = MLG_Password_Login[language_Index];
- document.getElementById("Login_Text").innerHTML = MLG_Button_Login[language_Index];
- document.passWarning.Prestige_Login.value = document.getElementById("Login_Text").innerHTML;
- //document.getElementById("Line").innerHTML = Line[language_Index];
- document.getElementById("MLG_Pass_Warn8_Txt").innerHTML = MLG_Pass_Warn8[language_Index];
- document.getElementById("MLG_Pass_Warn9_Txt").innerHTML = MLG_Pass_Warn9[language_Index];
- document.getElementById("MLG_Pass_Warn11_Txt").innerHTML = MLG_Pass_Warn11[language_Index];
- document.getElementById("MLG_Pass_Warn12_Txt").innerHTML = MLG_Pass_Warn12[language_Index];
- document.getElementById("MLG_Pass_Wrong_Txt").innerHTML = MLG_Pass_Wrong1[language_Index];
- document.getElementById("MLG_Username_Wrong_Txt").innerHTML = MLG_Username_Wrong1[language_Index];
- document.getElementById("MLG_NotCorrectErrMsg_Login").innerHTML = MLG_NotCorrectErrMsg_Login[language_Index];
- }
- </script>
- </head>
- <link href="../css/brick.css" rel="stylesheet" type="text/css" />
- <body class="loginbg">
- <div class="logo"><a href="http://www.cadastrospeedy.com.br"><img src="../images/logo_brazil.gif" alt="" /></a></div>
- <div class="wraplogin">
- <div class="header_position"><div class="logoWb"><img src="../images/logo.gif" alt="" /></div>
- </div>
- <div class="logincenter"><div class="login_left_pic"><img src="../images/p_login.gif"/></div>
- <div class="login_right" id="login_inputs">
- <div>
- <ul>
- <span class="title_index"><span id='Welcome_Login'>Welcome</span> <br />
- <li class="content_word">
- <span id='WelcomeTo_Login'>Welcome to </span> GPT-2731GN2A4P <span id='ExplainText_Login'>configuration interface. Please enter username and password to login.</span>
- <div>
- <form name="passWarning" method="post" id="login" action="/cgi-bin/index.asp" onSubmit="uiApply();" autocomplete="off"><fieldset><ul>
- <li style=" margin-top:10px;">
- <label for="Loginuser" style="width: 150px;" class="content_word_title"><span id='Username_Login' class="required">Username:</span></label>
- <input name="Loginuser" type="text" class="text required" id="Loginuser" size="20" then"/>
- <label for="Loginuser" class="error"><span id='MLG_Username_Wrong_Txt'>The username is not correct. </span></label>
- </li>
- <li style=" margin-top:10px; clear:both;">
- <label for="LoginPassword" style="width: 150px;" class="content_word_title"><span id='Password_Login' class="required">Password:</span></label>
- <input name="fake_username" id="fake_username" type="text"maxlength="64" style='display:none'/><input name="fake_pass" id="fake_pass" type="password" maxlength="64" style='display:none'/><input name="LoginPassword" type="password" autocomplete="new-password" class="text required" id="LoginPassword" size="20" autocomplete="off" />
- <label for="LoginPassword" class="error"><span id='MLG_Pass_Wrong_Txt'>The password is not correct. </span></label>
- </li>
- <li>
- <label id="Message"></label>
- </li>
- <li class="login_button">
- <input id='Login_ID' type="submit" value="Login" name="Prestige_Login" >
- </li>
- </ul>
- </fieldset>
- <input name="last_username0" type="hidden" value="support">
- <input name="last_username1" type="hidden" value="admin">
- <input name="status0" type="hidden" value="1">
- <input name="status1" type="hidden" value="1">
- </form>
- </div>
- </li>
- <li style="display:none">
- <span id='Login_Text'></span>
- <span id='MLG_Pass_Warn8_Txt'></span>
- <span id='MLG_Pass_Warn9_Txt'></span>
- <span id='MLG_NotCorrectErrMsg_Login'></span></li>
- </ul>
- <input id='Login_Timer' style="display:none"></input>
- </div></div>
- <div id="Login_fail" style="display:none" align="center" >
- <span id='Fail_Login' style="font-size:18px; font-weight:bold;"><font color="#DD0000"><br /><br /><span id='MLG_Pass_Warn11_Txt'>Authorization failed after trying 3 times!!!</span></font></span>
- </div>
- <div id="Login_try" style="display:none" align="center" >
- <span id='Fail_Login2' style="font-size:18px; font-weight:bold;"><font color="#DD0000"><br /><br /> <span id='MLG_Pass_Warn12_Txt'>Please try again after</span> <span id='MLG_Pass_Warn13_Txt'>Please wait seconds.</span></font></span>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement