HTTP/1.0 200 OK
Date: Mon Oct 28 02:57:08 2024
Server: GoAhead-Webs
Last-modified: Fri Jun 28 05:18:31 2024
Content-length: 16273
Content-type: text/html
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns= "http://www.w3c.org/1999/xhtml">
<head>
<title>RX 1500</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- for browser tab logo -->
<link rel="icon" href="">
<link rel="shortcut icon" href="" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="/css/jquery.selectbox.css" />
<script type="text/javascript" charset="utf-8" src="/js/initial_style_h_CSS.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/initialJQ.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/initialJSDefault.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/Login.js"></script>
<!-- /* for loging */ -->
<script type="text/javascript" charset="utf-8" src="../config/features.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/SOAP/SOAPAction.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/SOAP/SOAPDeviceSettings.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/initEnv.js?v=1"></script>
<script type="text/javascript" charset="utf-8" src="/js/SOAP/SOAPLogin.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery.client.js"></script>
<script type="text/javascript" charset="utf-8" src="/config/deviceinfo.js"></script>
<script type="text/javascript">
//xframeoption
if(top!=self){top.location=self.location;}
// if (document.referrer == "") {
// window.location.href = "../info/Login.html";
// }
var HasCAPTCHA = 0;
var ShowShareportLink = 0;
//localstorage
var loginpasswordtimeslist=Number(localStorage.getItem('loginpasswordwrongtimesmodelrouter'));
//OnLoad
var init = initEnv();
$(document).ready( function() {
//localstorage
if(loginpasswordtimeslist == ""){
localStorage.setItem('loginpasswordwrongtimesmodelrouter', 0);
}
init.done(function() {
showDeviceInfo().done(function() {
if(getDeviceSettings.DCS == "true") {
doLogin('','').done(function() {
if(getDeviceSettings.Type.indexOf("Extender") >= 0) {
localStorage.setItem("RunningWizard", "true");
window.location.href = "/Home_e.html";
} else if (getDeviceSettings.PASSWD == 'false') {
//没有产测密码 直接进入向导页 有产测密码 需要用户自己输入密码后进入向导页
window.location.href = "/Wizard_Manual.html";
} else if (getDeviceSettings.PASSWD !== 'false') {
document.getElementById('main').style.display = 'inline';
}
}).fail(function(err) {
document.getElementById('main').style.display = 'inline';
console.log(err,'dologin')
});
} else {
document.getElementById('main').style.display = 'inline';
localStorage.setItem('RunningWizard', 'false');
}
});
});
//$("#Language").selectbox({width:120});
});
function showDeviceInfo() {
var dtd = $.Deferred();
var deviceinfo_type = new DeviceInfo();
if(deviceinfo_type.featureOperationMode == true) {
sessionStorage.setItem("getDeviceSettingsType", getDeviceSettings.Type);
}
var getURL = getDeviceSettings.PresentationURL;
sessionStorage.setItem("PresentationURL", getURL);
getURL = getURL.replace("http://", "");
getURL = getURL.split(/[\s.]+/);
var Host_Name = getURL[getURL.length - 2].toLowerCase();
// Show the hyperlinks of web file access if we make sure the IP is private IP.
if (window.location.hostname.search(Host_Name) != -1 || window.location.hostname.substr(0, 8)=="192.168." || window.location.hostname.substr(0, 3)=="10." || window.location.hostname.substr(0, 7)=="172.16.")
{
ShowShareportLink = 1;
}
document.getElementById("modelName").innerHTML = getDeviceSettings.ModelName;
document.getElementById("HWversion").innerHTML = getDeviceSettings.HardwareVersion;
document.getElementById("FWversion").innerHTML = getDeviceSettings.FirmwareVersion;
if (getDeviceSettings.SharePortStatus != "true" || ShowShareportLink==0) { document.getElementById("sharePortAccess").style.display = "none"; }
// if (getDeviceSettings.CAPTCHA == "true")
// {
// document.getElementById("logIn_captcha").style.display = "table";
// generate_Captcha();
// HasCAPTCHA = 1;
// }
// else
// {
// //localstorage
// if(loginpasswordtimeslist<=10){
// document.getElementById("logIn").style.display = "table";
// HasCAPTCHA = 0;
// }else{
// document.getElementById("logIn").style.display = "none";
// document.getElementById("logIn_captcha").style.display = "table";
// generate_Captcha();
// HasCAPTCHA = 1;
// }
// }
document.getElementById("logIn").style.display = "table";
var lang = localStorage.getItem('language');
$("#Language").selectbox('detach');
$("#Language").val(lang);
$("#Language").selectbox({width:120});
// document.getElementById("main").style.display = "inline";
document.getElementById("admin_Password").disabled = false;
document.getElementById("admin_Password_with_Captcha").disabled = false;
$("#logIn_btn").attr("class", "styled_button_s").prop("disabled", false);
$("#logIn_btn_c").attr("class", "styled_button_s").prop("disabled", false);
if(getDeviceSettings.CAPTCHA == "true"){
document.getElementById("admin_Password_with_Captcha").focus();
} else {
document.getElementById("admin_Password").focus();
}
dtd.resolve();
return dtd.promise();
}
function OnClickLogin()
{
var Login_Password = null;
var Login_Captcha = null;
if (HasCAPTCHA == 0)
{
Login_Password = document.getElementById("admin_Password").value;
Login_Captcha = "";
}
else
{
Login_Captcha = document.getElementById("input_Captcha").value;
if (Login_Captcha == "") {
alert(I18N("j", "Invalid password or captcha, please try again."));
return false;
}
Login_Password = document.getElementById("admin_Password_with_Captcha").value;
}
document.getElementById("admin_Password").disabled = true;
document.getElementById("admin_Password_with_Captcha").disabled = true;
$("#logIn_btn").attr("class", "styled_button_dis").prop("disabled", true);
$("#logIn_btn_c").attr("class", "styled_button_dis").prop("disabled", true);
doLogin(Login_Password,Login_Captcha).done(function() {
if(getDeviceSettings.DCS=='true'){
window.location.href = "/Wizard_Manual.html";
}else{
//localstorage
localStorage.setItem('loginpasswordwrongtimesmodelrouter', 0);
var redirect_url = sessionStorage.getItem("RedirectUrl");
var operationModeUrl = location.href;
if((redirect_url == null) || (redirect_url.indexOf("Login.html") > 0) || (redirect_url.indexOf("html") < 0)) {
var deviceinfo_type = new DeviceInfo();
var session_getDeviceSettingsType = sessionStorage.getItem("getDeviceSettingsType");
if(deviceinfo_type.featureOperationMode == true) {
if(session_getDeviceSettingsType.indexOf("Extender") >= 0) {
window.location.href = "/Home_e.html";
} else {
window.location.href = "/Home.html";
}
} else {
window.location.href = "/Home.html";
}
} else {
window.location.href = redirect_url;
}
}
})
.fail(function(err) {
console.log(err,'err')
//localstorage
loginpasswordtimeslist+=1;
localStorage.setItem('loginpasswordwrongtimesmodelrouter',loginpasswordtimeslist);
document.getElementById("admin_Password").disabled = false;
document.getElementById("admin_Password_with_Captcha").disabled = false;
$("#logIn_btn").attr("class", "styled_button_s").prop("disabled", false);
$("#logIn_btn_c").attr("class", "styled_button_s").prop("disabled", false);
if (err === "REFUSE") {
alert(I18N("j", "Password input error 6 times, the device has been locked, please try again in 30 minutes"));
document.getElementById("admin_Password").value = "";
return
}
if (HasCAPTCHA == 1) {
alert(I18N("j", "Invalid password or captcha, please try again."));
document.getElementById("admin_Password_with_Captcha").value = "";
document.getElementById("input_Captcha").value = "";
document.getElementById("admin_Password_with_Captcha").focus();
generate_Captcha();
} else {
alert(I18N("j", "Invalid password, please try again."));
document.getElementById("admin_Password").value = "";
document.getElementById("admin_Password").focus();
}
//localstorage
// if(HasCAPTCHA==0) {
// if(loginpasswordtimeslist<=10) {
// document.getElementById("logIn").style.display = "table";
// HasCAPTCHA = 0;
// } else {
// document.getElementById("logIn").style.display = "none";
// document.getElementById("logIn_captcha").style.display = "table";
// generate_Captcha();
// HasCAPTCHA = 1;
// }
// }
});
}
function generate_Captcha() {
var cookie = COMM_RandomStr(10);
$.cookie('uid', cookie, { expires: 1, path: '/' });
sessionStorage.setItem("Cookie", cookie);
var getCAPTCHAsettingResponse = new SOAPGetCAPTCHAsettingResponse();
var soapAction = new SOAPAction();
soapAction.sendSOAPAction("GetCAPTCHAsetting", null, getCAPTCHAsettingResponse).done(function(obj){
var url = obj.CaptchaUrl;
$("#captcha_image").attr("src", url);
})
.fail(function(obj){
//alpha didn't follow spec
$.ajax({
url:"/captcha.cgi",
type:"GET",
contentType:'application/x-www-form-urlencoded',
data:"DUMMY=YES",
success: function(xml){
var url = $(xml).find("message").text();
$("#captcha_image").attr("src", url);
}
});
});
}
function switch_Language(value) {
sessionStorage.removeItem('langPack');
localStorage.setItem('language', value);
location.reload();
}
function detect_KeyValue(e) {
var key = window.event ? e.keyCode : e.which;
if (key == 13) {
document.getElementById("logIn_btn").click();
document.getElementById("logIn_btn_c").click();
}
}
</script>
<style>
body {background: #fff url(../image/header_2.png) left top repeat-x;}
#sharePortAccess {
position: relative;
top: 50px;
text-align: center;
font-size: 10pt;
}
.versionTable {
position: relative;
top: 38px;
left: 130px;
width: 780px;
font-size: 10pt;
}
.login-content {
width: 900px;
margin: 0 auto;
}
#admin_Password::-ms-reveal{
display: none;
}
</style>
</head>
<body id="main" style="display:none">
<div id="wrapper">
<!-- ------------------ Logo ----------------------- -->
<div class="login-content">
<div id="Lheader">
<div id="logo">
<img src="/image/logo_2.png" width="147" height="41" style="position:relative;" />
</div>
<table class="versionTable" border="0" cellspacing="0">
<tbody>
<thead>
<td><script>I18N("h", "Model Name");</script>: <label id="modelName">--</label></td>
<td><script>I18N("h", "Hardware Version");</script>: <label id="HWversion">--</label></td>
<td><script>I18N("h", "Firmware Version");</script>: <label id="FWversion">--</label></td>
<!-- <td align="right"><script>I18N("h", "Language");</script>:</td> -->
<!-- <td>
<div class="styled-select">
<select name="Language" id="Language" onChange="switch_Language(this.value)">
<option value="en-us" selected>English</option>
<option value="ja_jp" >日本語</option>
<option value="zh-tw">繁體中文</option>
<option value="zh-cn">简体中文</option>
<option value="ko-kr">한국</option>
<option value="fr-fr">français</option>
<option value="pt-br">português</option>
<option value="es-es">Español</option>
<option value="it-it">Italiano</option>
<option value="de-de">Deutsch</option>
<option value="ru-ru">русский</option>
</select>
</div>
</td> -->
</thead>
</tbody>
</table>
</div>
<!-- ------------------ Content -------------------- -->
<div id="content" style="width: 900px">
<br/>
<div id="logIn" style="display:none">
<table class="logInTable" id="logInTable" border="0" cellspacing="0">
<tbody>
<thead>
<tr>
<th><script>I18N("h", "Admin Password");</script>:</th>
</tr>
<tr>
<td><input class="styled-text" type="password" name="admin_Password" size="27" id="admin_Password" onkeydown="detect_KeyValue(event)"></td>
</tr>
</thead>
</tbody>
</table>
<center><button type="button" id="logIn_btn" class="styled_button_s" onclick="OnClickLogin()"><script>I18N("h", "Log In");</script></button></center>
</div>
<div id="logIn_captcha" style="display:none">
<table id="logInTable_captcha_left" border="0" cellspacing="0">
<tbody>
<thead>
<tr>
<th><script>I18N("h", "Admin Password");</script>:</th>
</tr>
<tr>
<td><input class="styled-text" type="password" name="admin_Password_with_Captcha" size="27" id="admin_Password_with_Captcha"></td>
</tr>
</thead>
</tbody>
</table>
<table id="logInTable_captcha_right" border="0" cellspacing="0">
<thead>
<tr>
<td><script>I18N("h", "Type the characters you see in the picture below.");</script></td>
</tr>
<tr>
<td align="center" height="50px"><input class="styled-text" type="text" name="input_Captcha" size="15" id="input_Captcha"></td>
</tr>
<tr>
<td align="center" height="30px">
<img id="captcha_image" />
<img id="refresh_button" src="/image/refresh.png" width="37" height="37" onclick="generate_Captcha()" />
</td>
</tr>
</thead>
<tbody></tbody>
</table>
<center><button type="button" id="logIn_btn_c" class="styled_button_s" onclick="OnClickLogin()"><script>I18N("h", "Log In");</script></button></center>
</div>
</div>
<br />
<div id="sharePortAccess">
<!-- <script>I18N("h", "To access your storage with SharePort Web Access,");</script><a target="_blank" href="http://shareport.local/"><script>I18N("h", "click here.");</script></a> -->
</div>
<br />
<br />
<
{
"@category" : "datascan",
"@timestamp" : "2024-10-28T05:57:16.000Z",
"app" : {
"extract" : {
"domain" : [
"w3c.org",
"w3.org",
"shareport.local"
],
"file" : [
"captcha.cgi"
],
"hostname" : [
"shareport.local",
"www.w3.org",
"www.w3c.org"
],
"url" : [
"http://shareport.local/",
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd",
"http://www.w3c.org/1999/xhtml"
]
},
"http" : {
"bodymd5" : "e0ff7ab38318e420f7ddcb4cf863c7a5",
"bodymmh3" : 355280690,
"header" : [
{
"name" : "Last-modified",
"value" : "Fri Jun 28 05:18:31 2024"
}
],
"headermd5" : "4c212d33fa00453a3c347a55eb7c8f1a",
"headermmh3" : -679225388,
"title" : "RX 1500"
},
"length" : 16384
},
"asn" : "AS262569",
"city" : "Touros",
"country" : "BR",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.0 200 OK\r\nDate: Mon Oct 28 02:57:08 2024\r\nServer: GoAhead-Webs\r\nLast-modified: Fri Jun 28 05:18:31 2024\r\nContent-length: 16273\r\nContent-type: text/html\r\nX-Frame-Options: SAMEORIGIN\r\nX-Content-Type-Options: nosniff\r\nX-XSS-Protection: 1\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns= \"http://www.w3c.org/1999/xhtml\">\n<head>\n<title>RX 1500</title> \n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<!-- for browser tab logo -->\n<link rel=\"icon\" href=\"\"> \n<link rel=\"shortcut icon\" href=\"\" type=\"image/x-icon\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/jquery.selectbox.css\" />\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/initial_style_h_CSS.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/initialJQ.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/initialJSDefault.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/Login.js\"></script> \n<!-- /* for loging */ -->\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"../config/features.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/SOAP/SOAPAction.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/SOAP/SOAPDeviceSettings.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/initEnv.js?v=1\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/SOAP/SOAPLogin.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/js/jquery.client.js\"></script>\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"/config/deviceinfo.js\"></script>\n\n<script type=\"text/javascript\">\n //xframeoption\n\tif(top!=self){top.location=self.location;}\n\t\n\t// if (document.referrer == \"\") {\n\t// \twindow.location.href = \"../info/Login.html\";\n\t// }\n\n\tvar HasCAPTCHA = 0;\n\tvar ShowShareportLink = 0;\n\n\t//localstorage\n\tvar loginpasswordtimeslist=Number(localStorage.getItem('loginpasswordwrongtimesmodelrouter'));\n\n\n\t//OnLoad\n\tvar init = initEnv();\n\t$(document).ready( function() {\n\n\t\t//localstorage\n\t\tif(loginpasswordtimeslist == \"\"){\n\t\t\tlocalStorage.setItem('loginpasswordwrongtimesmodelrouter', 0);\n\t\t}\n\n\t\tinit.done(function() {\n\t\t\tshowDeviceInfo().done(function() {\t\t\n\t\t\t\t\tif(getDeviceSettings.DCS == \"true\") {\n\t\t\t\t\tdoLogin('','').done(function() {\n\t\t\t\t\t\tif(getDeviceSettings.Type.indexOf(\"Extender\") >= 0) {\n\t\t\t\t\t\t\tlocalStorage.setItem(\"RunningWizard\", \"true\");\n\t\t\t\t\t\t\twindow.location.href = \"/Home_e.html\";\n\t\t\t\t\t\t} \telse if (getDeviceSettings.PASSWD == 'false') {\n\t\t\t\t\t\t\t//\u6ca1\u6709\u4ea7\u6d4b\u5bc6\u7801 \u76f4\u63a5\u8fdb\u5165\u5411\u5bfc\u9875 \u6709\u4ea7\u6d4b\u5bc6\u7801 \u9700\u8981\u7528\u6237\u81ea\u5df1\u8f93\u5165\u5bc6\u7801\u540e\u8fdb\u5165\u5411\u5bfc\u9875\n\t\t\t\t\t\t\twindow.location.href = \"/Wizard_Manual.html\";\n\t\t\t\t\t\t} else if (getDeviceSettings.PASSWD !== 'false') {\n document.getElementById('main').style.display = 'inline';\n }\n\t\t\t\t\t}).fail(function(err) {\n\t\t\t\t\t\tdocument.getElementById('main').style.display = 'inline';\n\t\t\t\t\t\tconsole.log(err,'dologin') \n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tdocument.getElementById('main').style.display = 'inline';\n\t\t\t\t\tlocalStorage.setItem('RunningWizard', 'false');\n\t\t\t\t}\n\t\t\t\n\t\t\t});\n\t\t});\n\t\t//$(\"#Language\").selectbox({width:120});\n\t});\n\t\n\tfunction showDeviceInfo() {\n\t\tvar dtd = $.Deferred();\n\t\tvar deviceinfo_type = new DeviceInfo();\n\t\tif(deviceinfo_type.featureOperationMode == true) {\n\t\t\tsessionStorage.setItem(\"getDeviceSettingsType\", getDeviceSettings.Type);\n\t\t}\n\t\t\n\t\tvar getURL = getDeviceSettings.PresentationURL;\n\t\tsessionStorage.setItem(\"PresentationURL\", getURL);\n\n\t\tgetURL = getURL.replace(\"http://\", \"\");\n\t\tgetURL = getURL.split(/[\\s.]+/);\n\t\tvar Host_Name = getURL[getURL.length - 2].toLowerCase();\n\t\t//\tShow the hyperlinks of web file access if we make sure the IP is private IP.\n\t\tif (window.location.hostname.search(Host_Name) != -1 || window.location.hostname.substr(0, 8)==\"192.168.\" || window.location.hostname.substr(0, 3)==\"10.\" || window.location.hostname.substr(0, 7)==\"172.16.\")\n\t\t{\n\t\t\tShowShareportLink = 1;\n\t\t}\n\t\t\n\t\tdocument.getElementById(\"modelName\").innerHTML = getDeviceSettings.ModelName;\n\t\tdocument.getElementById(\"HWversion\").innerHTML = getDeviceSettings.HardwareVersion;\n\t\tdocument.getElementById(\"FWversion\").innerHTML = getDeviceSettings.FirmwareVersion;\n\t\tif (getDeviceSettings.SharePortStatus != \"true\" || ShowShareportLink==0)\t{\tdocument.getElementById(\"sharePortAccess\").style.display = \"none\";\t}\n\t\t// if (getDeviceSettings.CAPTCHA == \"true\")\n\t\t// {\n\t\t// \tdocument.getElementById(\"logIn_captcha\").style.display = \"table\";\n\t\t// \tgenerate_Captcha();\n\t\t// \tHasCAPTCHA = 1;\n\t\t// }\n\t\t// else\n\t\t// {\n\t\t// \t//localstorage\n\t\t// \tif(loginpasswordtimeslist<=10){\n\t\t// \t\tdocument.getElementById(\"logIn\").style.display = \"table\";\n\t\t// \t\tHasCAPTCHA = 0;\n\t\t// \t}else{\n\t\t// \t\tdocument.getElementById(\"logIn\").style.display = \"none\";\n\t\t// \t\tdocument.getElementById(\"logIn_captcha\").style.display = \"table\";\n\t\t// \t\tgenerate_Captcha();\n\t\t// \t\tHasCAPTCHA = 1;\n\t\t// \t}\n\t\t// }\n\n\t\tdocument.getElementById(\"logIn\").style.display = \"table\";\n\n\t\tvar lang = localStorage.getItem('language');\n\t\t$(\"#Language\").selectbox('detach');\n\t\t$(\"#Language\").val(lang);\n\t\t$(\"#Language\").selectbox({width:120});\n\t\t// document.getElementById(\"main\").style.display = \"inline\";\n\t\tdocument.getElementById(\"admin_Password\").disabled = false;\n\t\tdocument.getElementById(\"admin_Password_with_Captcha\").disabled = false;\n\t\t$(\"#logIn_btn\").attr(\"class\", \"styled_button_s\").prop(\"disabled\", false);\n\t\t$(\"#logIn_btn_c\").attr(\"class\", \"styled_button_s\").prop(\"disabled\", false);\n\t\t\n\t\tif(getDeviceSettings.CAPTCHA == \"true\"){\n\t\t\tdocument.getElementById(\"admin_Password_with_Captcha\").focus();\n\t\t} else {\n\t\t\tdocument.getElementById(\"admin_Password\").focus();\n\t\t}\n\n\t\tdtd.resolve();\n\n\t\treturn dtd.promise();\n\t}\n\t\n\tfunction OnClickLogin()\n\t{\n\t\tvar Login_Password = null;\n\t\tvar Login_Captcha = null;\n\t\tif (HasCAPTCHA == 0)\n\t\t{\n\t\t\tLogin_Password = document.getElementById(\"admin_Password\").value;\n\t\t\tLogin_Captcha = \"\";\n\t\t}\n\t\telse\n\t\t{\n\t\t\tLogin_Captcha = document.getElementById(\"input_Captcha\").value;\n\t\t\tif (Login_Captcha == \"\") {\n\t\t\t\talert(I18N(\"j\", \"Invalid password or captcha, please try again.\"));\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tLogin_Password = document.getElementById(\"admin_Password_with_Captcha\").value;\n\t\t}\n\t\tdocument.getElementById(\"admin_Password\").disabled = true;\n\t\tdocument.getElementById(\"admin_Password_with_Captcha\").disabled = true;\n\t\t$(\"#logIn_btn\").attr(\"class\", \"styled_button_dis\").prop(\"disabled\", true);\n\t\t$(\"#logIn_btn_c\").attr(\"class\", \"styled_button_dis\").prop(\"disabled\", true);\n\n\t\tdoLogin(Login_Password,Login_Captcha).done(function() {\n\t\t\tif(getDeviceSettings.DCS=='true'){\n\t\t\t\twindow.location.href = \"/Wizard_Manual.html\";\n\n\t\t\t}else{\n\t\t\t//localstorage\n\t\t\tlocalStorage.setItem('loginpasswordwrongtimesmodelrouter', 0);\n\t\t\t\n\t\t\tvar redirect_url = sessionStorage.getItem(\"RedirectUrl\");\n\t\t\tvar operationModeUrl = location.href;\n\n\t\t\tif((redirect_url == null) || (redirect_url.indexOf(\"Login.html\") > 0) || (redirect_url.indexOf(\"html\") < 0)) {\n\t\t\t\tvar deviceinfo_type = new DeviceInfo();\n\t\t\t\tvar session_getDeviceSettingsType = sessionStorage.getItem(\"getDeviceSettingsType\");\n\t\t\t\t\n\t\t\t\tif(deviceinfo_type.featureOperationMode == true) {\n\t\t\t\t\tif(session_getDeviceSettingsType.indexOf(\"Extender\") >= 0) {\n\t\t\t\t\t\twindow.location.href = \"/Home_e.html\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\twindow.location.href = \"/Home.html\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\twindow.location.href = \"/Home.html\";\n\t\t\t\t}\t\n\t\t\t} else {\t\n\t\t\t\twindow.location.href = redirect_url;\t\t\n\t\t\t}\n\t\t\t}\n\t})\n\t\n\t\t.fail(function(err) {\n\t\t\tconsole.log(err,'err')\n\t\t\t//localstorage\n\t\t\tloginpasswordtimeslist+=1;\n\t\t\tlocalStorage.setItem('loginpasswordwrongtimesmodelrouter',loginpasswordtimeslist);\n\n\n\t\t\tdocument.getElementById(\"admin_Password\").disabled = false;\n\t\t\tdocument.getElementById(\"admin_Password_with_Captcha\").disabled = false;\n\t\t\t$(\"#logIn_btn\").attr(\"class\", \"styled_button_s\").prop(\"disabled\", false);\n\t\t\t$(\"#logIn_btn_c\").attr(\"class\", \"styled_button_s\").prop(\"disabled\", false);\n\n\t\t\tif (err === \"REFUSE\") {\n\t\t\t\talert(I18N(\"j\", \"Password input error 6 times, the device has been locked, please try again in 30 minutes\"));\n\t\t\t\tdocument.getElementById(\"admin_Password\").value = \"\";\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (HasCAPTCHA == 1) {\n\t\t\t\talert(I18N(\"j\", \"Invalid password or captcha, please try again.\"));\n\t\t\t\tdocument.getElementById(\"admin_Password_with_Captcha\").value = \"\";\n\t\t\t\tdocument.getElementById(\"input_Captcha\").value = \"\";\n\t\t\t\tdocument.getElementById(\"admin_Password_with_Captcha\").focus();\n\t\t\t\tgenerate_Captcha();\n\t\t\t} else {\n\t\t\t\talert(I18N(\"j\", \"Invalid password, please try again.\"));\n\t\t\t\tdocument.getElementById(\"admin_Password\").value = \"\";\n\t\t\t\tdocument.getElementById(\"admin_Password\").focus();\n\t\t\t}\n\n\t\t\t//localstorage\n\t\t\t// if(HasCAPTCHA==0) {\n\t\t\t// \tif(loginpasswordtimeslist<=10) {\n\t\t\t// \t\tdocument.getElementById(\"logIn\").style.display = \"table\";\n\t\t\t// \t\tHasCAPTCHA = 0;\n\t\t\t// \t} else {\n\t\t\t// \t\tdocument.getElementById(\"logIn\").style.display = \"none\";\n\t\t\t// \t\tdocument.getElementById(\"logIn_captcha\").style.display = \"table\";\n\t\t\t// \t\tgenerate_Captcha();\n\t\t\t// \t\tHasCAPTCHA = 1;\n\t\t\t// \t}\n\t\t\t// }\n\t\t\t\t\t\n\t\t});\t\t\n\t}\n\n\tfunction generate_Captcha() {\n\t\tvar cookie = COMM_RandomStr(10);\n\t\t$.cookie('uid', cookie, { expires: 1, path: '/' });\n\t\tsessionStorage.setItem(\"Cookie\", cookie);\n\n\t\tvar getCAPTCHAsettingResponse = new SOAPGetCAPTCHAsettingResponse();\n\t\tvar soapAction = new SOAPAction();\n\t\tsoapAction.sendSOAPAction(\"GetCAPTCHAsetting\", null, getCAPTCHAsettingResponse).done(function(obj){\n\t\t\tvar url = obj.CaptchaUrl;\n\t\t\t$(\"#captcha_image\").attr(\"src\", url);\n\t\t})\n\t\t.fail(function(obj){\n\t\t\t//alpha didn't follow spec\n\t\t\t$.ajax({\n\t\t\t\turl:\"/captcha.cgi\",\n\t\t\t\ttype:\"GET\",\n\t\t\t\tcontentType:'application/x-www-form-urlencoded',\n\t\t\t\tdata:\"DUMMY=YES\",\n\t\t\t\tsuccess: function(xml){\n\t\t\t\t\tvar url = $(xml).find(\"message\").text();\n\t\t\t\t\t$(\"#captcha_image\").attr(\"src\", url);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\tfunction switch_Language(value) {\n\t\tsessionStorage.removeItem('langPack');\n\t\tlocalStorage.setItem('language', value);\n\t\tlocation.reload();\n\t}\n\t\n\tfunction detect_KeyValue(e) {\n\t\tvar key = window.event ? e.keyCode : e.which;\n\t\tif (key == 13) {\n\t\t\tdocument.getElementById(\"logIn_btn\").click();\n\t\t\tdocument.getElementById(\"logIn_btn_c\").click();\t\n\t\t}\n\t}\n\t\n</script>\n<style>\nbody {background: #fff url(../image/header_2.png) left top repeat-x;}\n#sharePortAccess {\n\tposition: relative;\n\ttop: 50px;\n\ttext-align: center;\n\tfont-size: 10pt;\n}\n.versionTable {\n\tposition: relative;\n\ttop: 38px;\n\tleft: 130px;\n\twidth: 780px;\n\tfont-size: 10pt;\n}\n.login-content {\n width: 900px;\n margin: 0 auto;\n}\n#admin_Password::-ms-reveal{\n\tdisplay: none;\n}\n</style>\n</head>\n<body id=\"main\" style=\"display:none\">\n\t<div id=\"wrapper\">\n\t\t<!-- ------------------ Logo ----------------------- -->\n\t\t<div class=\"login-content\">\n <div id=\"Lheader\">\n <div id=\"logo\">\n\t\t\t\t\t\t<img src=\"/image/logo_2.png\" width=\"147\" height=\"41\" style=\"position:relative;\" />\n </div>\n <table class=\"versionTable\" border=\"0\" cellspacing=\"0\">\n <tbody>\n <thead>\n <td><script>I18N(\"h\", \"Model Name\");</script>: <label id=\"modelName\">--</label></td>\n <td><script>I18N(\"h\", \"Hardware Version\");</script>: <label id=\"HWversion\">--</label></td>\n <td><script>I18N(\"h\", \"Firmware Version\");</script>: <label id=\"FWversion\">--</label></td>\n <!-- <td align=\"right\"><script>I18N(\"h\", \"Language\");</script>:</td> -->\n <!-- <td>\n <div class=\"styled-select\">\n <select name=\"Language\" id=\"Language\" onChange=\"switch_Language(this.value)\">\n <option value=\"en-us\" selected>English</option>\n <option value=\"ja_jp\" >\u65e5\u672c\u8a9e</option>\n <option value=\"zh-tw\">\u7e41\u9ad4\u4e2d\u6587</option>\n <option value=\"zh-cn\">\u7b80\u4f53\u4e2d\u6587</option>\n <option value=\"ko-kr\">\ud55c\uad6d</option>\n <option value=\"fr-fr\">fran\u00e7ais</option>\n <option value=\"pt-br\">portugu\u00eas</option>\n <option value=\"es-es\">Espa\u00f1ol</option>\n <option value=\"it-it\">Italiano</option>\n <option value=\"de-de\">Deutsch</option>\n <option value=\"ru-ru\">\u0440\u0443\u0441\u0441\u043a\u0438\u0439</option>\n </select>\n </div>\n </td> -->\n </thead>\n </tbody>\n </table>\n </div>\n <!-- ------------------ Content -------------------- -->\n <div id=\"content\" style=\"width: 900px\">\n <br/>\n <div id=\"logIn\" style=\"display:none\">\n <table class=\"logInTable\" id=\"logInTable\" border=\"0\" cellspacing=\"0\">\n <tbody>\n <thead>\n <tr>\n <th><script>I18N(\"h\", \"Admin Password\");</script>:</th>\n </tr>\n <tr>\n <td><input class=\"styled-text\" type=\"password\" name=\"admin_Password\" size=\"27\" id=\"admin_Password\" onkeydown=\"detect_KeyValue(event)\"></td>\n </tr>\n </thead>\n </tbody>\n </table>\n <center><button type=\"button\" id=\"logIn_btn\" class=\"styled_button_s\" onclick=\"OnClickLogin()\"><script>I18N(\"h\", \"Log In\");</script></button></center>\n </div>\n <div id=\"logIn_captcha\" style=\"display:none\">\n <table id=\"logInTable_captcha_left\" border=\"0\" cellspacing=\"0\">\n <tbody>\n <thead>\n <tr>\n <th><script>I18N(\"h\", \"Admin Password\");</script>:</th>\n </tr>\n <tr>\n <td><input class=\"styled-text\" type=\"password\" name=\"admin_Password_with_Captcha\" size=\"27\" id=\"admin_Password_with_Captcha\"></td>\n </tr>\n </thead>\n </tbody>\n </table>\n <table id=\"logInTable_captcha_right\" border=\"0\" cellspacing=\"0\">\n <thead>\n <tr>\n <td><script>I18N(\"h\", \"Type the characters you see in the picture below.\");</script></td>\n </tr>\n <tr>\n <td align=\"center\" height=\"50px\"><input class=\"styled-text\" type=\"text\" name=\"input_Captcha\" size=\"15\" id=\"input_Captcha\"></td>\n </tr>\n <tr>\n <td align=\"center\" height=\"30px\">\n <img id=\"captcha_image\" />\n <img id=\"refresh_button\" src=\"/image/refresh.png\" width=\"37\" height=\"37\" onclick=\"generate_Captcha()\" />\n </td>\n </tr>\n </thead>\n <tbody></tbody>\n </table>\n <center><button type=\"button\" id=\"logIn_btn_c\" class=\"styled_button_s\" onclick=\"OnClickLogin()\"><script>I18N(\"h\", \"Log In\");</script></button></center>\n </div>\n </div>\n <br />\n <div id=\"sharePortAccess\">\n\t\t\t\t<!-- <script>I18N(\"h\", \"To access your storage with SharePort Web Access,\");</script><a target=\"_blank\" href=\"http://shareport.local/\"><script>I18N(\"h\", \"click here.\");</script></a> -->\n\t\t\t</div>\n <br />\n <br />\n <",
"datamd5" : "c5f9ec4e3d513c12a5d6f1b5e0fa5fe7",
"datammh3" : -1522126143,
"device" : {
"class" : "<enterprise field>: device.class"
},
"forward" : "170.82.74.25",
"geolocus" : {
"asn" : "AS262569",
"continent" : "SA",
"continentname" : "South America",
"country" : "BR",
"countryname" : "Brazil",
"domain" : [
"cert.br",
"provedormgnet.com.br"
],
"isineu" : "false",
"latitude" : "-14.235004",
"location" : "-14.235004,-51.92528",
"longitude" : "-51.92528",
"netname" : "07.686.448/0001-50",
"organization" : "ARCANJO TELECOM LTDA",
"subnet" : "170.82.72.0/22"
},
"hostname" : [
"170.82.74.25"
],
"ip" : "170.82.74.25",
"ipv6" : "false",
"latitude" : "-5.2611",
"location" : "-5.2611,-35.6046",
"longitude" : "-35.6046",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "ARCANJO TELECOM LTDA",
"port" : 8081,
"product" : "GoAhead",
"productvendor" : "Embedthis",
"protocol" : "http",
"protocolversion" : "1.0",
"reason" : "OK",
"seen_date" : "2024-10-28",
"source" : "urlscan::redirect",
"status" : 200,
"subnet" : "170.82.72.0/22",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/info/Login.html"
}