HTTP/1.1 200 OK
Content-Type: text/html
X-Frame-Options: SAMEORIGIN
Cache-Control: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000; includeSubdomains
Content-Length: 13089
Connection: close
Date: Wed, 20 Nov 2024 23:34:10 GMT
Server: DrayWebServer
<html><head><title>Vigor Login Page</title><link / href=/images/favicon.ico rel="shortcut icon" type=image/x-icon><meta content="text/html; charset=iso-8859-1" http-equiv=Content-Type><script> function TR(str){return str;}</script><style>
input {height:24px;}
select {height:24px;}
td.userpwd {
color: #000000;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 14px;
font-weight: bold;
}
td.errmsg {
color : red;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
}
td.errmsg1 {
color : red;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
}
td.warningmsg {
color : black;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
font-weight: bold;
}
td.copyright {
color: #888;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
padding-bottom: 15px;
-webkit-text-size-adjust:none
}
input.userpwd {
width: 180px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
input.login {
color: #000;
width: 68px;
height: 25px;
padding: 0 .38em .22em .38em;
background: #004488 url(images/login1.jpg) scroll 0;
border: 0px #004488 solid;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-style: normal;
font-weight: bold;
font-size: 14px;
cursor: pointer;
margin-left: 275px;
}
</style></head><body><form name=frm1 onsubmit="return false;"><input name=csrf_token type=hidden value=1><table border=0 height=90% width=100%><tr><td><script>var str="";if('0'=='2'){str='<table align=center width=524px border=0 cellspacing="0" cellpadding=0>';str+='<tr><td><img src="/get_logo.cgi" width="524px"></td></tr>';str+='<tr><td style="border:2px solid #aaaaaa;">';str+='<table width=80% align=center cellspacing="0" cellpadding=2 border=0 style="margin-top:30px">';}else if('0'=='1'){str='<table align=center width=524px height=352px border=0 cellspacing="0" cellpadding=0>';str+='<tr><td>';str+='<table width=80% align=center cellspacing="0" cellpadding=2 border=0 style="margin-top:75px">';}else{str="<table align=center width=524px border=0 cellspacing=0 cellpadding=0><tr height=95><td colspan=2 style='background:url(images/login_f1.png) no-repeat;'> </td></tr>";str+='<tr><td style="background:url(images/login2.png) repeat;">';str+='<table width=80% align=center cellspacing="0" cellpadding=2 border=0>';}document.write(str);</script><tr align=center class=CustomLogin style=display:none><td colspan=2><h3>Router Login</h3></td></tr><tr height=35><td class=userpwd style=padding-right:20px;text-align:right; width=40%>Username</td><td width=60%><input autocapitalize=off autocomplete=off class=userpwd maxlength=24 name=sUserName type=text></td></tr><tr height=35><td class=userpwd style=padding-right:20px;text-align:right;>Password</td><td><input autocomplete=off class=userpwd maxlength=84 name=sSysPass type=password></td></tr><tr class=sValidatedCode height=35 style=display:none><td class=userpwd style=padding-right:20px;text-align:right;>Validation Code</td><td><input id=validated_code maxlength=4 style="width: 60px" type=text><img align=bottom alt=ValidatedCode height=24px id=sVerification onclick=changecode() style="margin-left:15px;cursor:pointer;vertical-align: middle;" width=96px></td></tr><script>var enSSlgrp='';var enAdminAuth='';var admin_local_en=0;var admin_ldap_en=0;var admin_tatcs_en=0;var sslgrp_used=false;var add_group_selector=false;var ssl_group=["","","","","","","","","",""];var ssl_group_en=["0","0","0","0","0","0","0","0","0","0"];if(enSSlgrp==""){for(var i=0;i<ssl_group.length;i++){if(ssl_group_en[i]==1&&ssl_group[i]!="")sslgrp_used=true;}}add_group_selector=(enSSlgrp==""&&sslgrp_used)||(enAdminAuth==""&&(admin_local_en||admin_ldap_en||admin_tatcs_en));if(add_group_selector){var str="";str+="<tr height='35'><td class=userpwd style='padding-right:20px;text-align:right;'>"+TR("Group")+"</td>";str+="<td><select name=sltsslgrp>";str+="<option value=-1>---</option>";if(enAdminAuth==""){if(admin_local_en==1||admin_ldap_en==1||admin_tatcs_en==1){str+="<option value=admin>"+TR("admin")+"</option>";}}if(enSSlgrp==""){for(var i=0;i<ssl_group.length;i++){if(ssl_group_en[i]==1&&ssl_group[i]!="")str+="<option value="+i+">"+ssl_group[i]+"</option>";}}str+="</select></td></tr>";document.write(str);}else{document.write("<input type=hidden name=sltsslgrp value=-1>");}</script><tr><td class=errmsg colspan=2 height=15><span id=errmsg></span></td></tr><tr><td class=errmsg1 colspan=2 height=15><span id=errmsg1></span></td></tr><tr><td colspan=2 valign=top><input class=login name=btnOk type=button value=Login></td></tr></table></td></tr><tr id=warning style=display:none><script>var str='<td colspan=2 align=center>';if('0'=='0'){str='<td colspan=2 align=center style="background:url(images/login2.png) repeat;">';}document.write(str);</script><table border=0 width=90%><tr><td align=center class=warningmsg>Security Warning: You are logging in without encryption which is not recommended. To login securely <a href=javascript:HttpsLogin()>click here</a>.</td></tr></table></td></tr><script>var str='<tr><td height=60 class=copyright style="text-align:center;">';if('0'=='2')str='<tr><td height=60 class=copyright style="text-align:center;">';else if('0'=='0')str='<tr><td class=copyright height=70 style="background:url(images/login3.png) no-repeat;text-align:center;">';str+=TR("Copyright © 2000-");var buildtime="Jan 22 2021 10:53:18";var build_ary=buildtime.split(" ");for(var i=0;i<build_ary.length;i++){if(build_ary[i].length==4){str+=build_ary[i];break;}}str+=TR(" DrayTek Corp. All Rights Reserved.")+"</td></tr>";document.write(str);</script></table><table align=center border=0 class=CustomLogin style=display:none><tr><td><h1><b><font color=red>Welcome Message</font></b></h1><p>This welcome message is displayed in the Login page of the router. Replace this text with your own message. </p><ol><li>The welcome message can be written in HTML so lists such as this one can be created </li><li>Other markup tags such as p, font or img can be used</li></ol></td></tr></table></td></tr></table></form><form name=frmSub><input name=csrf_token type=hidden value=1><script>var sUser_mgt_End='';var sValidatedCode='';var sValidatedCodeNum;var form_num=2; if(sUser_mgt_End=="")form_num+=5; form_num+=1;if(sValidatedCode!="")form_num+=2;for(i=0;i<form_num+1;i++){document.write("<input type=hidden name=obj"+i+">");}</script></form><script>var isNav=(navigator.appName.indexOf("Netscape")!=-1);var isIE=(navigator.appName.indexOf("Microsoft")!=-1);var isOpr=(navigator.appName.indexOf("Opera")!=-1);var f=document.frm1;var iFrmLgErr=1;var iCustomLoginFlag='0';var CUST_LOGIN_ENABLE=(1<<3);var src_ip;var target_url;var mode;var fw_set;var fw_rule;initParameter();initPage();if(opener&&typeof(window.opener.document)!='unknown'&&typeof(window.opener.document)!='undefined'){if(opener.loginset_preview==1)opener.loginset_preview=0;}else ClearCookies();function changecode(){var verify=document.getElementById('sVerification');sValidatedCodeNum=Math.random()*1000000;verify.setAttribute('src','/image/verification.png?'+sValidatedCodeNum);}function showElmtByClass(_doc,_tag,_el){var doc=_doc;var tag=_tag;var el=_el;if(doc.getElementsByTagName){var nodes=doc.getElementsByTagName(tag);var max=nodes.length;for(var i=0;i<max;i++){var node=nodes.item(i);if(node.className==el){node.style.display="";}}}}function initPage(){if(sValidatedCode!=""){changecode();}if((iCustomLoginFlag&CUST_LOGIN_ENABLE)==CUST_LOGIN_ENABLE){if('0'=='0')showElmtByClass(document,"tr","CustomLogin");showElmtByClass(document,"table","CustomLogin");} if(self!=top)top.location="weblogin.htm";f.sUserName.focus();if(sUser_mgt_End==""){if(mode){switch(mode){case 3: if(iFrmLgErr==4){errmsg.innerHTML=TR("User Mode is off now.");}else if(iFrmLgErr==5){errmsg.innerHTML=TR("Wrong validation code!");}else{errmsg.innerHTML=TR("The username or password you entered is incorrect.");}break;case 4: errmsg.innerHTML=TR("Reach the maximum login number. Try another user account.");break;case 5: errmsg.innerHTML=TR("No available buffer now. Please contact with your administrator");break;case 6: errmsg.innerHTML=TR("The username or password you entered is incorrect.");break;case 7:errmsg.innerHTML=TR("User account is not enabled now.");break;case 8:errmsg.innerHTML=TR("You aren't allowed to access internet (out of schedule).");break;case 9:errmsg.innerHTML=TR("User login denied from http protocol. Please contact with your administrator");break;case 10:errmsg.innerHTML=TR("The user ran out of time quota.");break;case 11:errmsg.innerHTML=TR("The user ran out of data quota.");break;case 12:errmsg.innerHTML=TR("Wrong user account. Please contact with your administrator.");break;default:if(iFrmLgErr==2)errmsg.innerHTML=TR("The username or password you entered is incorrect.");break;}}else if(iFrmLgErr==2){errmsg.innerHTML=TR("The username or password you entered is incorrect.");}else if(iFrmLgErr==4){errmsg.innerHTML=TR("User Mode is off now.");}else if(iFrmLgErr==5){errmsg.innerHTML=TR("Wrong validation code!");}}else if(iFrmLgErr==2){errmsg.innerHTML=TR("The username or password you entered is incorrect.");}else if(iFrmLgErr==4){errmsg.innerHTML=TR("User Mode is off now.");}else if(iFrmLgErr==5){errmsg.innerHTML=TR("Wrong validation code!");}if(sValidatedCode!=""){showElmtByClass(document,"tr","sValidatedCode");}if('https:'!=document.location.protocol){document.getElementById("warning").style.display="";}else{document.getElementById("warning").style.display="none";} for(var d=0;d<document.forms.length;d++){ for(var e=0;e<document.forms[d].elements.length;e++){addhandlers(document.forms[d].elements[e]);}}}function HttpsLogin(){var url=window.location.href;var new_url=url;var dport=44443;url=url.replace("http://","https://");if(url.split(":").length==3){ new_url=url.split(":")[0]+":"+url.split(":")[1]+":"+dport;}else if(url.split(":").length==2){ var tmp=url.split(":")[1].split("/");new_url=url.split(":")[0]+"://"+tmp[2]+":"+dport;}window.location.href=new_url;}function initParameter(){if(sUser_mgt_End==""){src_ip='';target_url='';mode=6;fw_set=0;fw_rule=0;}}function encode(instr){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var outstr="";var chr1,chr2,chr3="";var enc1,enc2,enc3,enc4="";var i=0;do{chr1=instr.charCodeAt(i++);chr2=instr.charCodeAt(i++);chr3=instr.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}outstr=outstr+keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);chr1=chr2=chr3="";enc1=enc2=enc3=enc4="";}while(i<instr.length);return outstr;}function submitPara(){var frmSub=document.frmSub;var fwElmIdx=2;frmSub.method="post";frmSub.action="cgi-bin/wlogin.cgi";frmSub[0].name="aa";frmSub[0].value=encode(f.sUserName.value);frmSub[1].name="ab";frmSub[1].value=encode(f.sSysPass.value); if(sUser_mgt_End==""&&mode!=0){frmSub[2].name="src_ip";frmSub[2].value=src_ip;frmSub[3].name="target_url";frmSub[3].value=target_url;frmSub[4].name="mode";frmSub[4].value=mode;frmSub[5].name="fw_set";frmSub[5].value=fw_set;frmSub[6].name="fw_rule";frmSub[6].value=fw_rule;fwElmIdx=7;}if(enSSlgrp==""||enAdminAuth==""){frmSub[fwElmIdx].name="sslgroup";frmSub[fwElmIdx].value=f.sltsslgrp.value;}if(sValidatedCode!=""){fwElmIdx++;frmSub[fwElmIdx].name="sVerifCode";frmSub[fwElmIdx].value=document.getElementById("validated_code").value;fwElmIdx++;frmSub[fwElmIdx].name="sValidatedCodeNum";frmSub[fwElmIdx].value=sValidatedCodeNum;}frmSub[form_num].name="sFormAuthStr";frmSub[form_num].value=randomString(15);frmSub.submit();}function randomString(len){var chars='ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';var maxPos=chars.length;var pwd='';for(i=0;i<len;i++){pwd+=chars.charAt(Math.floor(Math.random()*maxPos));}return pwd;}function handler(_e){var e=_e,elmt,type;if(isNav){elmt=e.target;type=e.type;keycode=e.which;}if(isIE||isOpr){e=window.event;elmt=e.srcElement;type=e.type;keycode=e.keyCode;} if(isIE){if(elmt.type=="text")e.cancelBubble=false;else e.cancelBubble=true;}if(elmt==f.btnOk&&type=="click"){submitPara();}if(elmt!=f.btnOk&&type=="keydown"){if(keycode==13){ e.returnValue=false;submitPara();}}} function addhandlers(_o){var o=_o;o.onclick=handler;o.onkeydown=handler;}function ClearCookies(){var temp=document.cookie.split(";");var ts;for(var i=0;;i++){if(!temp[i])break;ts=temp[i].split("=")[0];DeleteCookie(ts);}}function GetCookieVal(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen){var j=i+alen;if(document.cookie.substring(i,j)==arg)return GetCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break;}return null;}function DeleteCookie(name){var exp=new Date();exp.setTime(exp.getTime()-1);var cval=GetCookie(name);document.cookie=name+"="+cval+"; expires="+exp.toGMTString();}</script></body></html>
{
"@category" : "datascan",
"@timestamp" : "2024-11-20T23:34:10.000Z",
"app" : {
"extract" : {
"file" : [
"get_logo.cgi",
"wlogin.cgi"
]
},
"http" : {
"bodymd5" : "815b0f4958afa1919a03a0c43aa7117e",
"bodymmh3" : -795860661,
"headermd5" : "3c79fb37f11b18207cc7cba8f1b93a3d",
"headermmh3" : 968035552,
"title" : "Vigor Login Page"
},
"length" : 13365
},
"asn" : "AS12430",
"basicconstraints" : "critical",
"ca" : "false",
"city" : "Matar\u00f3",
"country" : "ES",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nX-Frame-Options: SAMEORIGIN\r\nCache-Control: no-cache\r\nExpires: 0\r\nStrict-Transport-Security: max-age=31536000; includeSubdomains\r\nContent-Length: 13089\r\nConnection: close\r\nDate: Wed, 20 Nov 2024 23:34:10 GMT\r\nServer: DrayWebServer\r\n\r\n<html><head><title>Vigor Login Page</title><link / href=/images/favicon.ico rel=\"shortcut icon\" type=image/x-icon><meta content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type><script> function TR(str){return str;}</script><style>\ninput {height:24px;}\nselect {height:24px;}\ntd.userpwd {\ncolor: #000000;\nfont-family : Verdana, Arial, Helvetica, sans-serif;\nfont-size : 14px;\nfont-weight: bold;\n}\ntd.errmsg {\ncolor : red;\nfont-family : Verdana, Arial, Helvetica, sans-serif;\nfont-size : 12px;\n}\ntd.errmsg1 {\ncolor : red;\nfont-family : Verdana, Arial, Helvetica, sans-serif;\nfont-size : 12px;\n}\ntd.warningmsg {\ncolor : black;\nfont-family : Verdana, Arial, Helvetica, sans-serif;\nfont-size : 12px;\nfont-weight: bold;\n}\ntd.copyright {\ncolor: #888;\nfont-family: Verdana, Arial, Helvetica, sans-serif;\nfont-size: 10px;\nfont-weight: normal;\npadding-bottom: 15px;\n-webkit-text-size-adjust:none\n}\ninput.userpwd {\nwidth: 180px;\nfont-family: Verdana, Arial, Helvetica, sans-serif;\n}\ninput.login {\ncolor: #000;\nwidth: 68px;\nheight: 25px;\npadding: 0 .38em .22em .38em;\nbackground: #004488 url(images/login1.jpg) scroll 0;\nborder: 0px #004488 solid;\nfont-family: Verdana, Arial, Helvetica, sans-serif;\nfont-style: normal;\nfont-weight: bold;\nfont-size: 14px;\ncursor: pointer;\nmargin-left: 275px;\n}\n</style></head><body><form name=frm1 onsubmit=\"return false;\"><input name=csrf_token type=hidden value=1><table border=0 height=90% width=100%><tr><td><script>var str=\"\";if('0'=='2'){str='<table align=center width=524px border=0 cellspacing=\"0\" cellpadding=0>';str+='<tr><td><img src=\"/get_logo.cgi\" width=\"524px\"></td></tr>';str+='<tr><td style=\"border:2px solid #aaaaaa;\">';str+='<table width=80% align=center cellspacing=\"0\" cellpadding=2 border=0 style=\"margin-top:30px\">';}else if('0'=='1'){str='<table align=center width=524px height=352px border=0 cellspacing=\"0\" cellpadding=0>';str+='<tr><td>';str+='<table width=80% align=center cellspacing=\"0\" cellpadding=2 border=0 style=\"margin-top:75px\">';}else{str=\"<table align=center width=524px border=0 cellspacing=0 cellpadding=0><tr height=95><td colspan=2 style='background:url(images/login_f1.png) no-repeat;'> </td></tr>\";str+='<tr><td style=\"background:url(images/login2.png) repeat;\">';str+='<table width=80% align=center cellspacing=\"0\" cellpadding=2 border=0>';}document.write(str);</script><tr align=center class=CustomLogin style=display:none><td colspan=2><h3>Router Login</h3></td></tr><tr height=35><td class=userpwd style=padding-right:20px;text-align:right; width=40%>Username</td><td width=60%><input autocapitalize=off autocomplete=off class=userpwd maxlength=24 name=sUserName type=text></td></tr><tr height=35><td class=userpwd style=padding-right:20px;text-align:right;>Password</td><td><input autocomplete=off class=userpwd maxlength=84 name=sSysPass type=password></td></tr><tr class=sValidatedCode height=35 style=display:none><td class=userpwd style=padding-right:20px;text-align:right;>Validation Code</td><td><input id=validated_code maxlength=4 style=\"width: 60px\" type=text><img align=bottom alt=ValidatedCode height=24px id=sVerification onclick=changecode() style=\"margin-left:15px;cursor:pointer;vertical-align: middle;\" width=96px></td></tr><script>var enSSlgrp='';var enAdminAuth='';var admin_local_en=0;var admin_ldap_en=0;var admin_tatcs_en=0;var sslgrp_used=false;var add_group_selector=false;var ssl_group=[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"];var ssl_group_en=[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"];if(enSSlgrp==\"\"){for(var i=0;i<ssl_group.length;i++){if(ssl_group_en[i]==1&&ssl_group[i]!=\"\")sslgrp_used=true;}}add_group_selector=(enSSlgrp==\"\"&&sslgrp_used)||(enAdminAuth==\"\"&&(admin_local_en||admin_ldap_en||admin_tatcs_en));if(add_group_selector){var str=\"\";str+=\"<tr height='35'><td class=userpwd style='padding-right:20px;text-align:right;'>\"+TR(\"Group\")+\"</td>\";str+=\"<td><select name=sltsslgrp>\";str+=\"<option value=-1>---</option>\";if(enAdminAuth==\"\"){if(admin_local_en==1||admin_ldap_en==1||admin_tatcs_en==1){str+=\"<option value=admin>\"+TR(\"admin\")+\"</option>\";}}if(enSSlgrp==\"\"){for(var i=0;i<ssl_group.length;i++){if(ssl_group_en[i]==1&&ssl_group[i]!=\"\")str+=\"<option value=\"+i+\">\"+ssl_group[i]+\"</option>\";}}str+=\"</select></td></tr>\";document.write(str);}else{document.write(\"<input type=hidden name=sltsslgrp value=-1>\");}</script><tr><td class=errmsg colspan=2 height=15><span id=errmsg></span></td></tr><tr><td class=errmsg1 colspan=2 height=15><span id=errmsg1></span></td></tr><tr><td colspan=2 valign=top><input class=login name=btnOk type=button value=Login></td></tr></table></td></tr><tr id=warning style=display:none><script>var str='<td colspan=2 align=center>';if('0'=='0'){str='<td colspan=2 align=center style=\"background:url(images/login2.png) repeat;\">';}document.write(str);</script><table border=0 width=90%><tr><td align=center class=warningmsg>Security Warning: You are logging in without encryption which is not recommended. To login securely <a href=javascript:HttpsLogin()>click here</a>.</td></tr></table></td></tr><script>var str='<tr><td height=60 class=copyright style=\"text-align:center;\">';if('0'=='2')str='<tr><td height=60 class=copyright style=\"text-align:center;\">';else if('0'=='0')str='<tr><td class=copyright height=70 style=\"background:url(images/login3.png) no-repeat;text-align:center;\">';str+=TR(\"Copyright © 2000-\");var buildtime=\"Jan 22 2021 10:53:18\";var build_ary=buildtime.split(\" \");for(var i=0;i<build_ary.length;i++){if(build_ary[i].length==4){str+=build_ary[i];break;}}str+=TR(\" DrayTek Corp. All Rights Reserved.\")+\"</td></tr>\";document.write(str);</script></table><table align=center border=0 class=CustomLogin style=display:none><tr><td><h1><b><font color=red>Welcome Message</font></b></h1><p>This welcome message is displayed in the Login page of the router. Replace this text with your own message. </p><ol><li>The welcome message can be written in HTML so lists such as this one can be created </li><li>Other markup tags such as p, font or img can be used</li></ol></td></tr></table></td></tr></table></form><form name=frmSub><input name=csrf_token type=hidden value=1><script>var sUser_mgt_End='';var sValidatedCode='';var sValidatedCodeNum;var form_num=2; if(sUser_mgt_End==\"\")form_num+=5; form_num+=1;if(sValidatedCode!=\"\")form_num+=2;for(i=0;i<form_num+1;i++){document.write(\"<input type=hidden name=obj\"+i+\">\");}</script></form><script>var isNav=(navigator.appName.indexOf(\"Netscape\")!=-1);var isIE=(navigator.appName.indexOf(\"Microsoft\")!=-1);var isOpr=(navigator.appName.indexOf(\"Opera\")!=-1);var f=document.frm1;var iFrmLgErr=1;var iCustomLoginFlag='0';var CUST_LOGIN_ENABLE=(1<<3);var src_ip;var target_url;var mode;var fw_set;var fw_rule;initParameter();initPage();if(opener&&typeof(window.opener.document)!='unknown'&&typeof(window.opener.document)!='undefined'){if(opener.loginset_preview==1)opener.loginset_preview=0;}else ClearCookies();function changecode(){var verify=document.getElementById('sVerification');sValidatedCodeNum=Math.random()*1000000;verify.setAttribute('src','/image/verification.png?'+sValidatedCodeNum);}function showElmtByClass(_doc,_tag,_el){var doc=_doc;var tag=_tag;var el=_el;if(doc.getElementsByTagName){var nodes=doc.getElementsByTagName(tag);var max=nodes.length;for(var i=0;i<max;i++){var node=nodes.item(i);if(node.className==el){node.style.display=\"\";}}}}function initPage(){if(sValidatedCode!=\"\"){changecode();}if((iCustomLoginFlag&CUST_LOGIN_ENABLE)==CUST_LOGIN_ENABLE){if('0'=='0')showElmtByClass(document,\"tr\",\"CustomLogin\");showElmtByClass(document,\"table\",\"CustomLogin\");} if(self!=top)top.location=\"weblogin.htm\";f.sUserName.focus();if(sUser_mgt_End==\"\"){if(mode){switch(mode){case 3: if(iFrmLgErr==4){errmsg.innerHTML=TR(\"User Mode is off now.\");}else if(iFrmLgErr==5){errmsg.innerHTML=TR(\"Wrong validation code!\");}else{errmsg.innerHTML=TR(\"The username or password you entered is incorrect.\");}break;case 4: errmsg.innerHTML=TR(\"Reach the maximum login number. Try another user account.\");break;case 5: errmsg.innerHTML=TR(\"No available buffer now. Please contact with your administrator\");break;case 6: errmsg.innerHTML=TR(\"The username or password you entered is incorrect.\");break;case 7:errmsg.innerHTML=TR(\"User account is not enabled now.\");break;case 8:errmsg.innerHTML=TR(\"You aren't allowed to access internet (out of schedule).\");break;case 9:errmsg.innerHTML=TR(\"User login denied from http protocol. Please contact with your administrator\");break;case 10:errmsg.innerHTML=TR(\"The user ran out of time quota.\");break;case 11:errmsg.innerHTML=TR(\"The user ran out of data quota.\");break;case 12:errmsg.innerHTML=TR(\"Wrong user account. Please contact with your administrator.\");break;default:if(iFrmLgErr==2)errmsg.innerHTML=TR(\"The username or password you entered is incorrect.\");break;}}else if(iFrmLgErr==2){errmsg.innerHTML=TR(\"The username or password you entered is incorrect.\");}else if(iFrmLgErr==4){errmsg.innerHTML=TR(\"User Mode is off now.\");}else if(iFrmLgErr==5){errmsg.innerHTML=TR(\"Wrong validation code!\");}}else if(iFrmLgErr==2){errmsg.innerHTML=TR(\"The username or password you entered is incorrect.\");}else if(iFrmLgErr==4){errmsg.innerHTML=TR(\"User Mode is off now.\");}else if(iFrmLgErr==5){errmsg.innerHTML=TR(\"Wrong validation code!\");}if(sValidatedCode!=\"\"){showElmtByClass(document,\"tr\",\"sValidatedCode\");}if('https:'!=document.location.protocol){document.getElementById(\"warning\").style.display=\"\";}else{document.getElementById(\"warning\").style.display=\"none\";} for(var d=0;d<document.forms.length;d++){ for(var e=0;e<document.forms[d].elements.length;e++){addhandlers(document.forms[d].elements[e]);}}}function HttpsLogin(){var url=window.location.href;var new_url=url;var dport=44443;url=url.replace(\"http://\",\"https://\");if(url.split(\":\").length==3){ new_url=url.split(\":\")[0]+\":\"+url.split(\":\")[1]+\":\"+dport;}else if(url.split(\":\").length==2){ var tmp=url.split(\":\")[1].split(\"/\");new_url=url.split(\":\")[0]+\"://\"+tmp[2]+\":\"+dport;}window.location.href=new_url;}function initParameter(){if(sUser_mgt_End==\"\"){src_ip='';target_url='';mode=6;fw_set=0;fw_rule=0;}}function encode(instr){var keyStr=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";var outstr=\"\";var chr1,chr2,chr3=\"\";var enc1,enc2,enc3,enc4=\"\";var i=0;do{chr1=instr.charCodeAt(i++);chr2=instr.charCodeAt(i++);chr3=instr.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}outstr=outstr+keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);chr1=chr2=chr3=\"\";enc1=enc2=enc3=enc4=\"\";}while(i<instr.length);return outstr;}function submitPara(){var frmSub=document.frmSub;var fwElmIdx=2;frmSub.method=\"post\";frmSub.action=\"cgi-bin/wlogin.cgi\";frmSub[0].name=\"aa\";frmSub[0].value=encode(f.sUserName.value);frmSub[1].name=\"ab\";frmSub[1].value=encode(f.sSysPass.value); if(sUser_mgt_End==\"\"&&mode!=0){frmSub[2].name=\"src_ip\";frmSub[2].value=src_ip;frmSub[3].name=\"target_url\";frmSub[3].value=target_url;frmSub[4].name=\"mode\";frmSub[4].value=mode;frmSub[5].name=\"fw_set\";frmSub[5].value=fw_set;frmSub[6].name=\"fw_rule\";frmSub[6].value=fw_rule;fwElmIdx=7;}if(enSSlgrp==\"\"||enAdminAuth==\"\"){frmSub[fwElmIdx].name=\"sslgroup\";frmSub[fwElmIdx].value=f.sltsslgrp.value;}if(sValidatedCode!=\"\"){fwElmIdx++;frmSub[fwElmIdx].name=\"sVerifCode\";frmSub[fwElmIdx].value=document.getElementById(\"validated_code\").value;fwElmIdx++;frmSub[fwElmIdx].name=\"sValidatedCodeNum\";frmSub[fwElmIdx].value=sValidatedCodeNum;}frmSub[form_num].name=\"sFormAuthStr\";frmSub[form_num].value=randomString(15);frmSub.submit();}function randomString(len){var chars='ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';var maxPos=chars.length;var pwd='';for(i=0;i<len;i++){pwd+=chars.charAt(Math.floor(Math.random()*maxPos));}return pwd;}function handler(_e){var e=_e,elmt,type;if(isNav){elmt=e.target;type=e.type;keycode=e.which;}if(isIE||isOpr){e=window.event;elmt=e.srcElement;type=e.type;keycode=e.keyCode;} if(isIE){if(elmt.type==\"text\")e.cancelBubble=false;else e.cancelBubble=true;}if(elmt==f.btnOk&&type==\"click\"){submitPara();}if(elmt!=f.btnOk&&type==\"keydown\"){if(keycode==13){ e.returnValue=false;submitPara();}}} function addhandlers(_o){var o=_o;o.onclick=handler;o.onkeydown=handler;}function ClearCookies(){var temp=document.cookie.split(\";\");var ts;for(var i=0;;i++){if(!temp[i])break;ts=temp[i].split(\"=\")[0];DeleteCookie(ts);}}function GetCookieVal(offset){var endstr=document.cookie.indexOf(\";\",offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(name){var arg=name+\"=\";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen){var j=i+alen;if(document.cookie.substring(i,j)==arg)return GetCookieVal(j);i=document.cookie.indexOf(\" \",i)+1;if(i==0)break;}return null;}function DeleteCookie(name){var exp=new Date();exp.setTime(exp.getTime()-1);var cval=GetCookie(name);document.cookie=name+\"=\"+cval+\"; expires=\"+exp.toGMTString();}</script></body></html>",
"datamd5" : "645d80c6cc696301072a5dfc739bcbd6",
"datammh3" : -101432421,
"device" : {
"class" : "<enterprise field>: device.class",
"product" : "<enterprise field>: device.product",
"productvendor" : "<enterprise field>: device.productvendor"
},
"domain" : [
"comunitel.net",
"drayddns.com"
],
"extkeyusage" : [
"serverAuth",
"clientAuth"
],
"fingerprint" : {
"md5" : "f12630a51737bb1c8921c81a462fe0f6",
"sha1" : "ae0001cb487073809fb2e333afca3311556fe566",
"sha256" : "3f1f76d2296e5c8d4105d1f95d379ec4e90ae961b3957d680ef046d11fbb67ed"
},
"forward" : "46.26.75.39",
"geolocus" : {
"asn" : "AS12357",
"continent" : "EU",
"continentname" : "Europe",
"country" : "ES",
"countryname" : "Spain",
"domain" : [
"comunitel.net",
"vodafone.es"
],
"isineu" : "true",
"latitude" : "40.463667",
"location" : "40.463667,-3.74922",
"longitude" : "-3.74922",
"netname" : "ES-AIRTEL-20100719",
"organization" : "VODAFONE ESPANA S.A.U.",
"subnet" : "46.24.0.0/14"
},
"host" : [
"ret",
"static-39-75-26-46"
],
"hostname" : [
"46.26.75.39",
"ret.drayddns.com",
"static-39-75-26-46.ipcom.comunitel.net"
],
"ip" : "46.26.75.39",
"ipv6" : "false",
"issuer" : {
"commonname" : "R3",
"country" : "US",
"organization" : "Let's Encrypt"
},
"keyusage" : [
"digitalSignature",
"keyEncipherment"
],
"latitude" : "41.5453",
"location" : "41.5453,2.4414",
"longitude" : "2.4414",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "Vodafone Spain",
"os" : "Linux",
"osdistribution" : "sUse",
"osvendor" : "Linux",
"port" : 44443,
"protocol" : "http",
"protocolversion" : "1.1",
"publickey" : {
"algorithm" : "rsaEncryption",
"length" : 2048
},
"reason" : "OK",
"reverse" : [
"static-39-75-26-46.ipcom.comunitel.net"
],
"seen_date" : "2024-11-20",
"serial" : "04:6e:61:ad:b8:08:cf:9e:f4:a8:79:79:5f:5a:b7:bc:d7:70",
"signature" : {
"algorithm" : "sha256WithRSAEncryption"
},
"source" : "datascan::redirect::1",
"status" : 200,
"subdomains" : [
"ipcom.comunitel.net"
],
"subject" : {
"altname" : [
"ret.drayddns.com"
],
"commonname" : "ret.drayddns.com"
},
"subnet" : "46.26.0.0/17",
"tag" : "<enterprise field>: tag",
"tld" : [
"com",
"net"
],
"tls" : "true",
"transport" : "tcp",
"url" : "/weblogin.htm",
"validity" : {
"notafter" : "2021-08-02T06:09:29Z",
"notbefore" : "2021-05-04T06:09:29Z"
},
"version" : "v3",
"wildcard" : "false"
}