101.50.98.60:464 (tcp/http) - last seen on 2024-11-07 at 03:28:12 UTC
-
- IP
- 101.50.98.60
- Network
- 101.50.64.0/18
- Device
-
<enterprise field>: device.class
- Operating System
- Linux Linux Kernel
- URL
-
http://101.50.98.60:464/ 200
- ASN
- AS23674
- Organization
- Nayatel Pvt Ltd
- Protocol
- http
- Source
- datascan
-
- Operating System
- Linux Linux Kernel
This feature requires at least a "Lion View" to unlock. Go to our Pricing page for more.
-
- Data MD5
- 4f42258018cf8a8d77c4e8d26a150d4c
- HTTP Header MD5
- afb70f478aec39dcf90da02515012e36
- HTTP Body MD5
- 8fc3499418e52ebdeda4aaca2d9ee47a
-
HTTP/1.1 200 OK Cache-control:no-cache, no-store, max-age=0 Content-Type:text/html Content-Language:en Pragma:no-cache Transfer-Encoding:chunked X-Frame-Options:SAMEORIGIN Connection:Keep-Alive 2800 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1"><!-IE7 mode-> <meta http-equiv="Pragma" content="no-cache" /> <title></title> <link href="/Cuscss/login.css?20191018052127596424553184798" media="all" rel="stylesheet" /> <link href="/Cuscss/english/frame.css?20191018052127596424553184798" media="all" rel="stylesheet" /> <script language="JavaScript" src="/resource/common/md5.js?20191018052127596424553184798"></script> <style type="text/css"> #first{ background-color:white; height:25px; text-align: center; color: red; position:absolute; width: 380px; top: 312px; } #pwd_modify{ border:1px solid #CCCCCC; width:650px; margin-left:600px; margin-top:140px; position:absolute; z-index:10; background:#FFFFFF; display:none; } #base_mask { width:100%; height:100%; position:absolute; left:0px; right:0px; z-index:2; filter: alpha(opacity=60); -moz-opacity: 0.6; -khtml-opacity: 0.6; opacity: 0.8; background-color:#eeeeee; display:none; } </style> <script language="JavaScript" src="/resource/common/RndSecurityFormat.js?20191018052127596424553184798"></script> <script language="JavaScript" src="/resource/common/safelogin.js?20191018052127596424553184798"></script> <script type="text/javascript" src="/resource/common/jquery.min.js?20191018052127596424553184798"></script> <script id="langResource" language="JavaScript" src="/frameaspdes/english/ssmpdes.js?20191018052127596424553184798"></script> <script language="JavaScript" type="text/javascript"> function GetRandCnt() { return '56dbbff321fb53d95406849a193d32c7'; } function MD5(str) { return hex_md5(str); } var FailStat ='0'; var LoginTimes = '0'; var ModeCheckTimes = '0'; var Var_DefaultLang = 'english'; var Language = Var_DefaultLang; var LockTime = '60'; var LockLeftTime = '0'; var errloginlockNum = '3'; var locklefttimerhandle; var ProductName = 'EG8247H5'; var SafeFlag = '1'; var UserNameNormal = 'Epuser'; var ModifyPasswordFlagNormal = '1'; var UserNameAdmin = 'nayateladmin'; var ModifyPasswordFlagAdmin = '1'; var smartlanfeature = '0'; var IsSmartDev = "0"; var Var_DefaultLang = 'english'; var Var_LastLoginLang = 'english'; var mngttype = '0'; var logo_singtel = '0'; var telmexwififeature = '0'; var talktalkfeature = '0'; var TypeWord_com = ''; var languageList = 'english'; var APPVersion = '1.1.1.1'; var IsPTVDF = '0'; var langDescList = new Array(); var apcmodefeature = '0'; var apghnfeature = '0'; var curChangeMode = '0'; var CfgMode ='COMMONEBG'; var ProductType = '1'; var Ssid1 = 'AK\x20HOME'; var Ssid2 = 'WirelessNet\x2d5G'; var IsSingleWifi = '1'; var IsDoubleWifi = '0'; langDescList["chinese"] = "简体中文"; //or just '中文'? langDescList["english"] = "English"; langDescList["japanese"] = "日本語"; langDescList["arabic"] = "العربية"; langDescList["portuguese"] = "Português"; langDescList["spanish"] = "Español"; langDescList["turkish"] = "Türkçe"; var languageSet = new Array(); if ((typeof languageList == 'string') && (languageList != '')) languageSet = languageList.split("|"); if(Var_LastLoginLang == '') { Language = Var_DefaultLang; } else { Language = Var_LastLoginLang; } document.title = ProductName; function genLanguageList() { if (languageList == '') return false; var ChangeLanguage = ''; if (languageSet.length > 1) { for (var lang in languageSet) { ChangeLanguage += '<td width="47%" nowrap><a id="' + languageSet[lang] + '" href="#" name="' + languageSet[lang] + '" onClick="onChangeLanguage(this.id);" class="changelanguage">[' + langDescList[languageSet[lang]] + ']</a></td>'; } document.getElementById('chooselagButton').innerHTML = ChangeLanguage; document.getElementById('chooselag').style.display = "block"; } } function GetLoginDes(DesId) { return framedesinfo[DesId]; } function showlefttime() { if (LockLeftTime <= 0) { window.location="/login.asp"; return; } if(1 == IsPTVDF) { var html = GetLoginDes("frame011a") + LockLeftTime + GetLoginDes(LockLeftTime == 1 ? "frame012c" : "frame012d"); } else if (1 == talktalkfeature) { $("#DivErrPagePlace").css({ width:"19%", }) $("#DivErrIconPlace").css({ width:"81%", }) var html = GetLoginDes("frame011TALKTALK") + LockLeftTime + GetLoginDes(LockLeftTime == 1 ? "frame012a" : "frame012"); } else { var html = GetLoginDes("frame011") + LockLeftTime + GetLoginDes(LockLeftTime == 1 ? "frame012a" : "frame012"); } SetDivValue("DivErrPromt", html); LockLeftTime = LockLeftTime - 1; } function setErrorStatus() { clearInterval(locklefttimerhandle); if (((LoginTimes != null) && (LoginTimes != '') && (LoginTimes > 0)) ||( "1" == FailStat) || (ModeCheckTimes >= errloginlockNum) ) { document.getElementById('DivErrPage').style.display = 'block'; } if('1' == FailStat || (ModeCheckTimes >= errloginlockNum)) { if(ModeCheckTimes >= errloginlockNum) { SetDivValue("DivErrPromt", GetLoginDes("frame013a")); } else { SetDivValue("DivErrPromt", GetLoginDes("frame013")); } setDisable('txt_Username', 1); setDisable('txt_Password', 1); setDisable('loginbutton', 1); } else if (LoginTimes > 0 && LoginTimes < errloginlockNum) { if (1 == talktalkfeature) { $("#DivErrPagePlace").css({ width:"15%", }) $("#DivErrIconPlace").css({ width:"85%", }) SetDivValue("DivErrPromt", GetLoginDes("frame014TALKTALK")); } else { SetDivValue("DivErrPromt", GetLoginDes("frame014")); } } else if (LoginTimes >= errloginlockNum && parseInt(LockLeftTime) > 0) { if(1 == IsPTVDF) { var desc = "frame012d"; if (parseInt(LockLeftTime) == 1) desc = "frame012c"; var html = GetLoginDes("frame011a") + LockLeftTime + GetLoginDes(desc); } else if (1 == talktalkfeature) { $("#DivErrPagePlace").css({ width:"19%", }) $("#DivErrIconPlace").css({ width:"81%", }) var html = GetLoginDes("frame011TALKTALK") + LockLeftTime + GetLoginDes(desc); } else { var desc = "frame012"; if (parseInt(LockLeftTime) == 1) desc = "frame012a"; var html = GetLoginDes("frame011") + LockLeftTime + GetLoginDes(desc); } SetDivValue("DivErrPromt", html); setDisable('txt_Username', 1); setDisable('txt_Password', 1); setDisable('loginbutton', 1); locklefttimerhandle = setInterval('showlefttime()', 1000); } else { document.getElementById('DivErrPage').style.display = 'none'; } } function IsIEBrower(num) { var ua = navigator.userAgent.toLowerCase(); var isIE = ua.indexOf("msie")>-1; var safariVersion; if(isIE){ safariVersion = ua.match(/msie ([\d.]+)/)[1]; var sa = parseInt(safariVersion); if(safariVersion <= num ){ alert(framedesinfo["frame016"]); } } } function LoadFrame() { document.getElementById('txt_Username').focus(); clearInterval(locklefttimerhandle); if (telmexwififeature == "1") { $("#accordion_help").css("display","block"); $("#logininfo").css({ marginTop:"30px", }) $(".contenboxlogin").css({ height:"40px", }) } else { $("#accordion_help").css("display","none"); } onChangeLanguage(); init(); } function SetCusLanguageInfo(language, activflag) { var node = document.getElementById(language); if ((null == node) || (undefined == node)) return; var color = (activflag ? "#9b0000" : "#FFFFFF"); node.style.color = color; } function init() { if (document.addEventListener) { document.addEventListener("keypress", onHandleKeyDown, false); } else { document.onkeypress = onHandleKeyDown; } } function onHandleKeyDown(event) { var e = event || window.event; var code = e.charCode || e.keyCode; if (code == 13) { LoginSubmit("loginbutton"); } } function LoginSubmit(val) { var Username = document.getElementById('txt_Username'); var Password = document.getElementById('txt_Password'); var appName = navigator.appName; var version = navigator.appVersion; var CheckResult = 0; if (appName == "Microsoft Internet Explorer") { var versionNumber = version.split(" ")[3]; if (parseInt(versionNumber.split(";")[0]) < 6) { alert(GetLoginDes('frame006')); return false; } } if (Username.value == "") { alert(GetLoginDes("frame007")); Username.focus(); return false; } if (Password.value == "") { alert(GetLoginDes("frame009")); Password.focus(); return false; } var cookie = document.cookie; if ("" != cookie) { var date = new Date(); date.setTime(date.getTime() - 10000); var cookie22 = cookie + ";expires=" + date.toGMTString(); document.cookie=cookie22; } if ('PLDT' == CfgMode.toUpperCase() || 'PLDT2' == CfgMode.toUpperCase()) { if ((Username.value == UserNameNormal) && (ModifyPasswordFlagNormal == 0)) { CheckResult = CheckPassword(Password.value); if (CheckResult == 1) { document.getElementById('base_mask').style.display = 'block'; document.getElementById('pwd_modify').style.display = 'block'; document.getElementById('old_password').focus(); if (1 == IsSingleWifi) { document.getElementById('modify_pwd_ssid1').style.display = 'block'; document.getElementById('modify_pwd_ssid2').style.display = 'none'; document.getElementById('modify_pwd_label').style.display = 'block'; document.getElementById('pwd_modify').style.height = '295px'; document.getElementById('update').style.top = '90px'; document.getElementById('ssid1_name').innerHTML = Ssid1; document.getElementById('ssid1_name_lebel').innerHTML = 'WiFi SSID:'; } else if (1 == IsDoubleWifi) { document.getElementById('modify_pwd_ssid1').style.display = 'block'; document.getElementById('modify_pwd_ssid2').style.display = 'block'; document.getElementById('modify_pwd_label').style.display = 'block'; document.getElementById('pwd_modify').style.height = '355px'; document.getElementById('update').style.top = '150px'; document.getElementById('ssid1_name').innerHTML = Ssid1; document.getElementById('ssid2_name').innerHTML = Ssid2; document.getElementById('ssid1_name_lebel').innerHTML = '2.4G WiFi SSID:'; } else { document.getElementById('modify_pwd_ssid1').style.display = 'none'; document.getElementById('modify_ 2800 pwd_ssid2').style.display = 'none'; document.getElementById('modify_pwd_label').style.display = 'none'; document.getElementById('pwd_modify').style.height = '200px'; document.getElementById('update').style.top = '15px'; } return false; } } else if ((Username.value == UserNameAdmin) && (ModifyPasswordFlagAdmin == 0)) { CheckResult = CheckPassword(Password.value); if (CheckResult == 1) { document.getElementById('base_mask').style.display = 'block'; document.getElementById('pwd_modify').style.display = 'block'; document.getElementById('old_password').focus(); document.getElementById('modify_pwd_ssid1').style.display = 'none'; document.getElementById('modify_pwd_ssid2').style.display = 'none'; document.getElementById('modify_pwd_label').style.display = 'none'; document.getElementById('pwd_modify').style.height = '200px'; document.getElementById('update').style.top = '15px'; return false; } } } var cnt; var Form = new webSubmitForm(); $.ajax({ type : "POST", async : false, cache : false, url : '/asp/GetRandCount.asp', success : function(data) { cnt = data; } }); var Form = new webSubmitForm(); var cookie2 = "Cookie=body:" + "Language:" + Language + ":" + "id=-1;path=/"; Form.addParameter('UserName', Username.value); Form.addParameter('PassWord', base64encode(Password.value)); Form.addParameter('Language', Language); document.cookie = cookie2; Username.disabled = true; Password.disabled = true; Form.addParameter('x.X_HW_Token', cnt); Form.setAction('/login.cgi'); Form.submit(); return true; } function Refresh() { window.location.href="/login.asp"; } function onChangeLanguage(paralanguage) { if (paralanguage != null) { if (Language == paralanguage) //same language, do nothing return; SetCusLanguageInfo(Language, false); //deactivate old language Language = paralanguage; } var langSrc = "/frameaspdes/" + Language + "/ssmpdes.js"; loadLanguage("langResource", langSrc, onLanguageChanged); } function onLanguageChanged() { ParseBindTextByTagName(framedesinfo, "span", 1); ParseBindTextByTagName(framedesinfo, "div", 1); ParseBindTextByTagName(framedesinfo, "input", 2); SetCusLanguageInfo(Language, true);//activate new language setErrorStatus(); } function loadLanguage(id, url, callback) { var docHead = document.getElementsByTagName('head')[0]; var langScript = document.getElementById(id); if (langScript != null) { docHead.removeChild(langScript); } try { langScript = document.createElement('script'); langScript.setAttribute('type', 'text/javascript'); langScript.setAttribute('src', url); langScript.setAttribute('id', id); if (callback != null) { langScript.onload = langScript.onreadystatechange = function() { if (langScript.ready) { return false; } if (!langScript.readyState || langScript.readyState == "loaded" || langScript.readyState == 'complete') { langScript.ready = true; callback(); } }; } docHead.appendChild(langScript); } catch(e) {} } function isValidAscii(val) { for ( var i = 0 ; i < val.length ; i++ ) { var ch = val.charAt(i); if ( ch <= ' ' || ch > '~' ) { return false; } } return true; } function isLowercaseInString(str) { var lower_reg = /^.*([a-z])+.*$/; var MyReg = new RegExp(lower_reg); if ( MyReg.test(str) ) { return true; } return false; } function isUppercaseInString(str) { var upper_reg = /^.*([A-Z])+.*$/; var MyReg = new RegExp(upper_reg); if ( MyReg.test(str) ) { return true; } return false; } function isDigitInString(str) { var digit_reg = /^.*([0-9])+.*$/; var MyReg = new RegExp(digit_reg); if ( MyReg.test(str) ) { return true; } return false; } function isSpecialCharacterNoSpace(str) { var specia_Reg =/^.*[`~!@#\$%\^&\*\(\)_\+\-=\[\]\{\}\'\;\,\./:\"\?><\\\|]{1,}.*$/; var MyReg = new RegExp(specia_Reg); if ( MyReg.test(str) ) { return true; } return false; } function CompareString(srcstr,deststr) { var reverestr=(srcstr.split("").reverse().join("")); if ( srcstr == deststr ) { return false; } if (reverestr == deststr ) { return false; } return true; } function CheckPwdIsComplex(str) { var i = 0; if ( 6 > str.length ) { return false; } if (!CompareString(str,UserNameNormal) ) { return false; } if ( isLowercaseInString(str) ) { i++; } if ( isUppercaseInString(str) ) { i++; } if ( isDigitInString(str) ) { i++; } if ( isSpecialCharacterNoSpace(str) ) { i++; } if ( i >= 2 ) { return true; } return false; } function CheckPassword(PwdForCheck) { var Username = document.getElementById('txt_Username'); var NormalPwdInfo = FormatUrlEncode(PwdForCheck); var CheckResult = 0; var url_check_pwd = 0; if (Username.value == UserNameNormal) { url_check_pwd = '/asp/CheckNormalPwdNotLogin.asp?&1=1'; } else if (Username.value == UserNameAdmin) { url_check_pwd = '/asp/CheckAdminPwdNotLogin.asp?&1=1'; } $.ajax({ type : "POST", async : false, cache : false, url : url_check_pwd, data :'NormalPwdInfo='+NormalPwdInfo, success : function(data) { CheckResult=data; } }); return CheckResult; } function isHexaDigit(digit) { var hexVals = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "a", "b", "c", "d", "e", "f"); var len = hexVals.length; var i = 0; var ret = false; for ( i = 0; i < len; i++ ) if ( digit == hexVals[i] ) break; if ( i < len ) ret = true; return ret; } function isValidWPAPskKey(val) { var ret = false; var len = val.length; var maxSize = 64; var minSize = 8; if (!isValidAscii(val)) { return false; } if ( len >= minSize && len < maxSize ) { ret = true; } else if ( len == maxSize ) { for ( i = 0; i < maxSize; i++ ) if ( i
-
{ "@category" : "datascan", "@timestamp" : "2024-11-07T03:28:12.000Z", "app" : { "extract" : { "file" : [ "login.cgi" ], "ip" : [ "1.1.1.1" ] }, "http" : { "bodymd5" : "8fc3499418e52ebdeda4aaca2d9ee47a", "bodymmh3" : -1216976468, "headermd5" : "afb70f478aec39dcf90da02515012e36", "headermmh3" : 395292094 }, "length" : 16384 }, "asn" : "AS23674", "city" : "Islamabad", "country" : "PK", "data" : "HTTP/1.1 200 OK\r\nCache-control:no-cache, no-store, max-age=0\r\nContent-Type:text/html\r\nContent-Language:en\r\nPragma:no-cache\r\nTransfer-Encoding:chunked\r\nX-Frame-Options:SAMEORIGIN\r\nConnection:Keep-Alive\r\n\r\n2800\r\n\ufeff<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge;chrome=1\"><!-IE7 mode->\r\n<meta http-equiv=\"Pragma\" content=\"no-cache\" />\r\n<title></title>\r\n<link href=\"/Cuscss/login.css?20191018052127596424553184798\" media=\"all\" rel=\"stylesheet\" />\r\n<link href=\"/Cuscss/english/frame.css?20191018052127596424553184798\" media=\"all\" rel=\"stylesheet\" />\r\n<script language=\"JavaScript\" src=\"/resource/common/md5.js?20191018052127596424553184798\"></script>\r\n\r\n<style type=\"text/css\">\r\n#first{\r\nbackground-color:white;\r\nheight:25px;\r\ntext-align: center;\r\ncolor: red;\r\nposition:absolute;\r\nwidth: 380px;\r\ntop: 312px;\r\n}\r\n\r\n\r\n#pwd_modify{\r\nborder:1px solid #CCCCCC;\r\nwidth:650px;\r\nmargin-left:600px;\r\nmargin-top:140px;\r\nposition:absolute;\r\nz-index:10;\r\nbackground:#FFFFFF;\r\ndisplay:none;\r\n}\r\n\r\n#base_mask {\r\nwidth:100%;\r\nheight:100%;\r\nposition:absolute;\r\nleft:0px;\r\nright:0px;\r\nz-index:2;\r\nfilter: alpha(opacity=60);\r\n-moz-opacity: 0.6;\r\n-khtml-opacity: 0.6;\r\nopacity: 0.8;\r\nbackground-color:#eeeeee;\r\ndisplay:none;\r\n}\r\n\r\n\r\n</style>\r\n<script language=\"JavaScript\" src=\"/resource/common/RndSecurityFormat.js?20191018052127596424553184798\"></script>\r\n<script language=\"JavaScript\" src=\"/resource/common/safelogin.js?20191018052127596424553184798\"></script>\r\n<script type=\"text/javascript\" src=\"/resource/common/jquery.min.js?20191018052127596424553184798\"></script>\r\n<script id=\"langResource\" language=\"JavaScript\" src=\"/frameaspdes/english/ssmpdes.js?20191018052127596424553184798\"></script>\r\n<script language=\"JavaScript\" type=\"text/javascript\">\r\nfunction GetRandCnt() { return '56dbbff321fb53d95406849a193d32c7'; }\r\nfunction MD5(str) { return hex_md5(str); }\r\nvar FailStat ='0';\r\nvar LoginTimes = '0';\r\nvar ModeCheckTimes = '0';\r\nvar Var_DefaultLang = 'english';\r\nvar Language = Var_DefaultLang;\r\nvar LockTime = '60';\r\nvar LockLeftTime = '0';\r\nvar errloginlockNum = '3';\r\nvar locklefttimerhandle;\r\nvar ProductName = 'EG8247H5';\r\nvar SafeFlag = '1';\r\nvar UserNameNormal = 'Epuser';\r\nvar ModifyPasswordFlagNormal = '1';\r\nvar UserNameAdmin = 'nayateladmin';\r\nvar ModifyPasswordFlagAdmin = '1';\r\nvar smartlanfeature = '0';\r\nvar IsSmartDev = \"0\";\r\nvar Var_DefaultLang = 'english';\r\nvar Var_LastLoginLang = 'english';\r\nvar mngttype = '0';\r\nvar logo_singtel = '0';\r\nvar telmexwififeature = '0';\r\nvar talktalkfeature = '0';\r\nvar TypeWord_com = '';\r\nvar languageList = 'english';\r\nvar APPVersion = '1.1.1.1';\r\nvar IsPTVDF = '0';\r\nvar langDescList = new Array();\r\nvar apcmodefeature = '0';\r\nvar apghnfeature = '0';\r\nvar curChangeMode = '0'; \r\nvar CfgMode ='COMMONEBG';\r\nvar ProductType = '1';\r\nvar Ssid1 = 'AK\\x20HOME';\r\nvar Ssid2 = 'WirelessNet\\x2d5G';\r\nvar IsSingleWifi = '1';\r\nvar IsDoubleWifi = '0';\r\n\r\nlangDescList[\"chinese\"] = \"\u7b80\u4f53\u4e2d\u6587\"; //or just '\u4e2d\u6587'?\r\nlangDescList[\"english\"] = \"English\";\r\nlangDescList[\"japanese\"] = \"\u65e5\u672c\u8a9e\";\r\nlangDescList[\"arabic\"] = \"\u0627\u0644\u0639\u0631\u0628\u064a\u0629\";\r\nlangDescList[\"portuguese\"] = \"Portugu\u00eas\";\r\nlangDescList[\"spanish\"] = \"Espa\u00f1ol\";\r\nlangDescList[\"turkish\"] = \"T\u00fcrk\u00e7e\";\r\n\r\nvar languageSet = new Array();\r\n\r\nif ((typeof languageList == 'string') && (languageList != ''))\r\nlanguageSet = languageList.split(\"|\");\r\n\r\nif(Var_LastLoginLang == '')\r\n{\r\nLanguage = Var_DefaultLang;\r\n}\r\nelse\r\n{\r\nLanguage = Var_LastLoginLang;\r\n}\r\n\r\ndocument.title = ProductName;\r\n\r\nfunction genLanguageList()\r\n{\r\nif (languageList == '')\r\nreturn false;\r\n\r\nvar ChangeLanguage = '';\r\n\r\nif (languageSet.length > 1)\r\n{\r\nfor (var lang in languageSet)\r\n{\r\nChangeLanguage += '<td width=\"47%\" nowrap><a id=\"' \r\n + languageSet[lang] + '\" href=\"#\" name=\"' \r\n + languageSet[lang] + '\" onClick=\"onChangeLanguage(this.id);\" class=\"changelanguage\">[' \r\n + langDescList[languageSet[lang]] + ']</a></td>';\r\n}\r\ndocument.getElementById('chooselagButton').innerHTML = ChangeLanguage;\r\ndocument.getElementById('chooselag').style.display = \"block\";\r\n}\r\n}\r\n\r\nfunction GetLoginDes(DesId)\r\n{\r\nreturn framedesinfo[DesId];\r\n}\r\n\r\nfunction showlefttime()\r\n{\r\nif (LockLeftTime <= 0)\r\n{\r\nwindow.location=\"/login.asp\";\r\nreturn;\r\n}\r\n\r\nif(1 == IsPTVDF)\r\n{\r\nvar html = GetLoginDes(\"frame011a\") + LockLeftTime + GetLoginDes(LockLeftTime == 1 ? \"frame012c\" : \"frame012d\");\r\n}\r\nelse if (1 == talktalkfeature)\r\n{\r\n$(\"#DivErrPagePlace\").css({\r\nwidth:\"19%\",\r\n})\r\n$(\"#DivErrIconPlace\").css({\r\nwidth:\"81%\",\r\n})\r\nvar html = GetLoginDes(\"frame011TALKTALK\") + LockLeftTime + GetLoginDes(LockLeftTime == 1 ? \"frame012a\" : \"frame012\");\r\n}\r\nelse\r\n{\r\nvar html = GetLoginDes(\"frame011\") + LockLeftTime + GetLoginDes(LockLeftTime == 1 ? \"frame012a\" : \"frame012\");\r\n}\r\n\r\nSetDivValue(\"DivErrPromt\", html);\r\n\r\nLockLeftTime = LockLeftTime - 1;\r\n}\r\n\r\nfunction setErrorStatus()\r\n{\r\nclearInterval(locklefttimerhandle);\r\nif (((LoginTimes != null) && (LoginTimes != '') && (LoginTimes > 0))\r\n||( \"1\" == FailStat) || (ModeCheckTimes >= errloginlockNum) )\r\n{\r\ndocument.getElementById('DivErrPage').style.display = 'block';\r\n}\r\n\r\nif('1' == FailStat || (ModeCheckTimes >= errloginlockNum))\r\n{\r\nif(ModeCheckTimes >= errloginlockNum)\r\n{\r\nSetDivValue(\"DivErrPromt\", GetLoginDes(\"frame013a\"));\r\n}\r\nelse\r\n{\r\nSetDivValue(\"DivErrPromt\", GetLoginDes(\"frame013\"));\r\n}\r\n\r\nsetDisable('txt_Username', 1);\r\nsetDisable('txt_Password', 1);\r\nsetDisable('loginbutton', 1);\r\n}\r\nelse if (LoginTimes > 0 && LoginTimes < errloginlockNum)\r\n{\r\nif (1 == talktalkfeature)\r\n{\r\n$(\"#DivErrPagePlace\").css({\r\nwidth:\"15%\",\r\n})\r\n$(\"#DivErrIconPlace\").css({\r\nwidth:\"85%\",\r\n})\r\nSetDivValue(\"DivErrPromt\", GetLoginDes(\"frame014TALKTALK\"));\r\n}\r\nelse\r\n{\r\nSetDivValue(\"DivErrPromt\", GetLoginDes(\"frame014\"));\r\n}\r\n}\r\nelse if (LoginTimes >= errloginlockNum && parseInt(LockLeftTime) > 0)\r\n{\r\nif(1 == IsPTVDF)\r\n{\r\nvar desc = \"frame012d\";\r\nif (parseInt(LockLeftTime) == 1)\r\ndesc = \"frame012c\";\r\n\r\nvar html = GetLoginDes(\"frame011a\") + LockLeftTime + GetLoginDes(desc);\r\n}\r\nelse if (1 == talktalkfeature)\r\n{\r\n$(\"#DivErrPagePlace\").css({\r\nwidth:\"19%\",\r\n})\r\n$(\"#DivErrIconPlace\").css({\r\nwidth:\"81%\",\r\n})\r\nvar html = GetLoginDes(\"frame011TALKTALK\") + LockLeftTime + GetLoginDes(desc);\r\n}\r\nelse\r\n{\r\nvar desc = \"frame012\";\r\nif (parseInt(LockLeftTime) == 1)\r\ndesc = \"frame012a\";\r\n\r\nvar html = GetLoginDes(\"frame011\") + LockLeftTime + GetLoginDes(desc);\r\n}\r\n\r\nSetDivValue(\"DivErrPromt\", html);\r\nsetDisable('txt_Username', 1);\r\nsetDisable('txt_Password', 1);\r\nsetDisable('loginbutton', 1);\r\nlocklefttimerhandle = setInterval('showlefttime()', 1000);\r\n}\r\nelse\r\n{\r\ndocument.getElementById('DivErrPage').style.display = 'none';\r\n}\r\n}\r\n\r\nfunction IsIEBrower(num) {\r\n var ua = navigator.userAgent.toLowerCase();\r\n var isIE = ua.indexOf(\"msie\")>-1;\r\n var safariVersion;\r\n if(isIE){\r\n safariVersion = ua.match(/msie ([\\d.]+)/)[1];\r\n var sa = parseInt(safariVersion);\r\n if(safariVersion <= num ){\r\n alert(framedesinfo[\"frame016\"]);\r\n }\r\n }\r\n}\r\n\r\nfunction LoadFrame()\r\n{\r\ndocument.getElementById('txt_Username').focus();\r\nclearInterval(locklefttimerhandle);\r\nif (telmexwififeature == \"1\")\r\n{\r\n$(\"#accordion_help\").css(\"display\",\"block\");\r\n$(\"#logininfo\").css({\r\nmarginTop:\"30px\",\r\n})\r\n$(\".contenboxlogin\").css({\r\nheight:\"40px\",\r\n})\r\n}\r\nelse\r\n{\r\n$(\"#accordion_help\").css(\"display\",\"none\");\r\n}\r\nonChangeLanguage();\r\n\r\ninit();\r\n}\r\n\r\nfunction SetCusLanguageInfo(language, activflag)\r\n{\r\nvar node = document.getElementById(language);\r\n\r\nif ((null == node) || (undefined == node))\r\nreturn;\r\n\r\nvar color = (activflag ? \"#9b0000\" : \"#FFFFFF\");\r\nnode.style.color = color;\r\n}\r\n\r\nfunction init() {\r\nif (document.addEventListener) {\r\ndocument.addEventListener(\"keypress\", onHandleKeyDown, false);\r\n} else {\r\ndocument.onkeypress = onHandleKeyDown;\r\n}\r\n}\r\n\r\nfunction onHandleKeyDown(event) {\r\nvar e = event || window.event;\r\nvar code = e.charCode || e.keyCode;\r\n\r\nif (code == 13) {\r\nLoginSubmit(\"loginbutton\");\r\n}\r\n}\r\n\r\nfunction LoginSubmit(val)\r\n{\r\nvar Username = document.getElementById('txt_Username');\r\nvar Password = document.getElementById('txt_Password');\r\nvar appName = navigator.appName;\r\nvar version = navigator.appVersion;\r\nvar CheckResult = 0;\r\n\r\nif (appName == \"Microsoft Internet Explorer\")\r\n{\r\nvar versionNumber = version.split(\" \")[3];\r\nif (parseInt(versionNumber.split(\";\")[0]) < 6)\r\n{\r\nalert(GetLoginDes('frame006'));\r\nreturn false;\r\n}\r\n}\r\n\r\nif (Username.value == \"\") {\r\nalert(GetLoginDes(\"frame007\"));\r\nUsername.focus();\r\nreturn false;\r\n}\r\n\r\nif (Password.value == \"\") {\r\nalert(GetLoginDes(\"frame009\"));\r\nPassword.focus();\r\nreturn false;\r\n}\r\n\r\nvar cookie = document.cookie;\r\nif (\"\" != cookie)\r\n{\r\nvar date = new Date();\r\ndate.setTime(date.getTime() - 10000);\r\nvar cookie22 = cookie + \";expires=\" + date.toGMTString();\r\ndocument.cookie=cookie22;\r\n}\r\n\r\n if ('PLDT' == CfgMode.toUpperCase() || 'PLDT2' == CfgMode.toUpperCase())\r\n{\r\n\r\nif ((Username.value == UserNameNormal) && (ModifyPasswordFlagNormal == 0))\r\n{\r\nCheckResult = CheckPassword(Password.value);\r\nif (CheckResult == 1)\r\n{\r\ndocument.getElementById('base_mask').style.display = 'block';\r\ndocument.getElementById('pwd_modify').style.display = 'block';\r\ndocument.getElementById('old_password').focus();\r\nif (1 == IsSingleWifi)\r\n{\r\ndocument.getElementById('modify_pwd_ssid1').style.display = 'block';\r\ndocument.getElementById('modify_pwd_ssid2').style.display = 'none';\r\ndocument.getElementById('modify_pwd_label').style.display = 'block';\r\ndocument.getElementById('pwd_modify').style.height = '295px';\r\ndocument.getElementById('update').style.top = '90px';\r\ndocument.getElementById('ssid1_name').innerHTML = Ssid1;\r\ndocument.getElementById('ssid1_name_lebel').innerHTML = 'WiFi SSID:';\r\n}\r\nelse if (1 == IsDoubleWifi)\r\n{\r\ndocument.getElementById('modify_pwd_ssid1').style.display = 'block';\r\ndocument.getElementById('modify_pwd_ssid2').style.display = 'block';\r\ndocument.getElementById('modify_pwd_label').style.display = 'block';\r\ndocument.getElementById('pwd_modify').style.height = '355px';\r\ndocument.getElementById('update').style.top = '150px';\r\ndocument.getElementById('ssid1_name').innerHTML = Ssid1;\r\ndocument.getElementById('ssid2_name').innerHTML = Ssid2;\r\ndocument.getElementById('ssid1_name_lebel').innerHTML = '2.4G WiFi SSID:';\r\n}\r\nelse\r\n{\r\ndocument.getElementById('modify_pwd_ssid1').style.display = 'none';\r\ndocument.getElementById('modify_\r\n2800\r\npwd_ssid2').style.display = 'none';\r\ndocument.getElementById('modify_pwd_label').style.display = 'none';\r\ndocument.getElementById('pwd_modify').style.height = '200px';\r\ndocument.getElementById('update').style.top = '15px';\r\n}\r\nreturn false;\r\n}\r\n}\r\nelse if ((Username.value == UserNameAdmin) && (ModifyPasswordFlagAdmin == 0))\r\n{\r\nCheckResult = CheckPassword(Password.value);\r\nif (CheckResult == 1)\r\n{\r\ndocument.getElementById('base_mask').style.display = 'block';\r\ndocument.getElementById('pwd_modify').style.display = 'block';\r\ndocument.getElementById('old_password').focus();\r\ndocument.getElementById('modify_pwd_ssid1').style.display = 'none';\r\ndocument.getElementById('modify_pwd_ssid2').style.display = 'none';\r\ndocument.getElementById('modify_pwd_label').style.display = 'none';\r\ndocument.getElementById('pwd_modify').style.height = '200px';\r\ndocument.getElementById('update').style.top = '15px';\r\nreturn false;\r\n}\r\n}\r\n}\r\n\r\nvar cnt;\r\nvar Form = new webSubmitForm();\r\n\r\n$.ajax({\r\ntype : \"POST\",\r\nasync : false,\r\ncache : false,\r\nurl : '/asp/GetRandCount.asp',\r\nsuccess : function(data) {\r\ncnt = data;\r\n}\r\n});\r\nvar Form = new webSubmitForm();\r\nvar cookie2 = \"Cookie=body:\" + \"Language:\" + Language + \":\" + \"id=-1;path=/\";\r\nForm.addParameter('UserName', Username.value);\r\nForm.addParameter('PassWord', base64encode(Password.value));\r\nForm.addParameter('Language', Language);\r\ndocument.cookie = cookie2;\r\nUsername.disabled = true;\r\nPassword.disabled = true;\r\nForm.addParameter('x.X_HW_Token', cnt);\r\nForm.setAction('/login.cgi');\r\nForm.submit();\r\nreturn true;\r\n}\r\n\r\nfunction Refresh()\r\n{\r\nwindow.location.href=\"/login.asp\";\r\n}\r\n\r\nfunction onChangeLanguage(paralanguage)\r\n{\r\nif (paralanguage != null)\r\n{\r\nif (Language == paralanguage) //same language, do nothing\r\nreturn;\r\n\r\nSetCusLanguageInfo(Language, false); //deactivate old language\r\n\r\nLanguage = paralanguage;\r\n}\r\nvar langSrc = \"/frameaspdes/\" + Language + \"/ssmpdes.js\";\r\nloadLanguage(\"langResource\", langSrc, onLanguageChanged);\r\n}\r\n\r\nfunction onLanguageChanged()\r\n{\r\nParseBindTextByTagName(framedesinfo, \"span\", 1);\r\nParseBindTextByTagName(framedesinfo, \"div\", 1);\r\nParseBindTextByTagName(framedesinfo, \"input\", 2);\r\n\r\nSetCusLanguageInfo(Language, true);//activate new language\r\n\r\nsetErrorStatus();\r\n}\r\n\r\nfunction loadLanguage(id, url, callback)\r\n{\r\nvar docHead = document.getElementsByTagName('head')[0];\r\nvar langScript = document.getElementById(id);\r\nif (langScript != null) {\r\ndocHead.removeChild(langScript);\r\n}\r\n\r\ntry\r\n{\r\nlangScript = document.createElement('script');\r\nlangScript.setAttribute('type', 'text/javascript');\r\nlangScript.setAttribute('src', url);\r\nlangScript.setAttribute('id', id);\r\nif (callback != null) \r\n{\r\nlangScript.onload = langScript.onreadystatechange = function() \r\n{\r\nif (langScript.ready) \r\n{\r\nreturn false;\r\n}\r\nif (!langScript.readyState || langScript.readyState == \"loaded\" || langScript.readyState == 'complete') \r\n{\r\nlangScript.ready = true;\r\ncallback();\r\n}\r\n};\r\n}\r\ndocHead.appendChild(langScript);\r\n}\r\ncatch(e)\r\n{}\r\n}\r\n\r\n\r\nfunction isValidAscii(val)\r\n{\r\nfor ( var i = 0 ; i < val.length ; i++ )\r\n{\r\nvar ch = val.charAt(i);\r\nif ( ch <= ' ' || ch > '~' )\r\n{\r\nreturn false;\r\n}\r\n}\r\nreturn true;\r\n}\r\n\r\nfunction isLowercaseInString(str)\r\n{\r\nvar lower_reg = /^.*([a-z])+.*$/;\r\nvar MyReg = new RegExp(lower_reg);\r\nif ( MyReg.test(str) )\r\n{\r\nreturn true;\r\n}\r\nreturn false;\r\n}\r\n\r\nfunction isUppercaseInString(str)\r\n{\r\nvar upper_reg = /^.*([A-Z])+.*$/;\r\nvar MyReg = new RegExp(upper_reg);\r\nif ( MyReg.test(str) )\r\n{\r\nreturn true;\r\n}\r\nreturn false;\r\n}\r\n\r\nfunction isDigitInString(str)\r\n{\r\nvar digit_reg = /^.*([0-9])+.*$/;\r\nvar MyReg = new RegExp(digit_reg);\r\nif ( MyReg.test(str) )\r\n{\r\nreturn true;\r\n}\r\nreturn false;\r\n}\r\n\r\nfunction isSpecialCharacterNoSpace(str)\r\n{\r\nvar specia_Reg =/^.*[`~!@#\\$%\\^&\\*\\(\\)_\\+\\-=\\[\\]\\{\\}\\'\\;\\,\\./:\\\"\\?><\\\\\\|]{1,}.*$/;\r\nvar MyReg = new RegExp(specia_Reg);\r\nif ( MyReg.test(str) )\r\n{\r\nreturn true;\r\n}\r\nreturn false;\r\n}\r\n\r\nfunction CompareString(srcstr,deststr)\r\n{\r\nvar reverestr=(srcstr.split(\"\").reverse().join(\"\"));\r\nif ( srcstr == deststr )\r\n{\r\nreturn false;\r\n}\r\n\r\nif (reverestr == deststr )\r\n{\r\nreturn false;\r\n}\r\nreturn true;\r\n}\r\n\r\nfunction CheckPwdIsComplex(str)\r\n{\r\nvar i = 0;\r\n\r\nif ( 6 > str.length )\r\n{\r\nreturn false;\r\n}\r\n\r\nif (!CompareString(str,UserNameNormal) )\r\n{\r\nreturn false;\r\n}\r\n\r\nif ( isLowercaseInString(str) )\r\n{\r\ni++;\r\n}\r\n\r\nif ( isUppercaseInString(str) )\r\n{\r\ni++;\r\n}\r\n\r\nif ( isDigitInString(str) )\r\n{\r\ni++;\r\n}\r\n\r\nif ( isSpecialCharacterNoSpace(str) )\r\n{\r\ni++;\r\n}\r\n\r\nif ( i >= 2 )\r\n{\r\nreturn true;\r\n}\r\nreturn false;\r\n}\r\n\r\nfunction CheckPassword(PwdForCheck)\r\n{\r\nvar Username = document.getElementById('txt_Username');\r\nvar NormalPwdInfo = FormatUrlEncode(PwdForCheck);\r\nvar CheckResult = 0;\r\nvar url_check_pwd = 0;\r\n\r\nif (Username.value == UserNameNormal)\r\n{\r\nurl_check_pwd = '/asp/CheckNormalPwdNotLogin.asp?&1=1';\r\n}\r\nelse if (Username.value == UserNameAdmin)\r\n{\r\nurl_check_pwd = '/asp/CheckAdminPwdNotLogin.asp?&1=1';\r\n}\r\n\r\n$.ajax({\r\ntype : \"POST\",\r\nasync : false,\r\ncache : false,\r\nurl : url_check_pwd,\r\ndata :'NormalPwdInfo='+NormalPwdInfo,\r\nsuccess : function(data) {\r\nCheckResult=data;\r\n}\r\n});\r\nreturn CheckResult;\r\n}\r\n\r\nfunction isHexaDigit(digit) {\r\n var hexVals = new Array(\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\",\r\n \"A\", \"B\", \"C\", \"D\", \"E\", \"F\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\");\r\n var len = hexVals.length;\r\n var i = 0;\r\n var ret = false;\r\n for ( i = 0; i < len; i++ )\r\n if ( digit == hexVals[i] ) break;\r\n if ( i < len )\r\n ret = true;\r\n return ret;\r\n}\r\nfunction isValidWPAPskKey(val)\r\n{\r\n var ret = false;\r\n var len = val.length;\r\n var maxSize = 64;\r\n var minSize = 8;\r\n if (!isValidAscii(val))\r\n {\r\n return false;\r\n }\r\n if ( len >= minSize && len < maxSize )\r\n { \r\nret = true;\r\n }\r\n else if ( len == maxSize )\r\n {\r\n for ( i = 0; i < maxSize; i++ )\r\n if ( i", "datamd5" : "4f42258018cf8a8d77c4e8d26a150d4c", "datammh3" : 373771594, "device" : { "class" : "<enterprise field>: device.class" }, "geolocus" : { "asn" : "AS23674", "continent" : "AS", "continentname" : "Asia", "country" : "PK", "countryname" : "Pakistan", "domain" : [ "nayatel.com" ], "isineu" : "false", "latitude" : "30.375321", "location" : "30.375321,69.345116", "longitude" : "69.345116", "netname" : "NAYATEL-PK", "organization" : "Nayatel (Pvt) Ltd", "subnet" : "101.50.96.0/21" }, "ip" : "101.50.98.60", "ipv6" : "false", "latitude" : "33.7233", "location" : "33.7233,73.0435", "longitude" : "73.0435", "node" : { "country" : "<enterprise field>: node.country", "groupid" : "<enterprise field>: node.groupid", "id" : "<enterprise field>: node.id", "physicalcountry" : "<enterprise field>: node.physicalcountry" }, "organization" : "Nayatel Pvt Ltd", "os" : "Linux Kernel", "osvendor" : "Linux", "port" : 464, "protocol" : "http", "protocolversion" : "1.1", "reason" : "OK", "seen_date" : "2024-11-07", "source" : "datascan", "status" : 200, "subnet" : "101.50.64.0/18", "tag" : "<enterprise field>: tag", "tls" : "false", "transport" : "tcp", "url" : "/" }