WOP-12ac
Добавлено: 26 мар 2018 13:56
Доброго.
Получили WOP-12ac. При попытке входа в web-интерфейс в браузере MS Internet Explorer 11 (в Edge тоже самое) получаю страницу с полями для ввода логина/пароля при этом вверху страницы присутствует следующий текст
Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-control: no-cache X-Frame-Options: sameorigin X-XSS-Protection: 1; mode=block Content-Type: text/html; charset=UTF-8
После ввода логина/пароля остаётся белый фон страницы и вверху тот же текст.
Если использовать другой браузер (Opera, Chrome) то при попытке входа на страницу для ввода логина/пароля получаю вот это:
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-control: no-cache
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Content-Type: text/html; charset=UTF-8
<html>
<head>
<!--
Link to customer specific favicon.ico.
This file must be specially formatted as an ico file.
-->
<link REL="shortcut icon" HREF="/open_auth/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" language="javascript">
function SetCookie() {
var cookieName = "invalid";
var length = 32;
var nDays = 7;
var today = new Date();
var expire = new Date();
var cookieValue = "";
if (nDays==null || nDays==0) nDays=1;
expire.setTime(today.getTime() + 3600000*24*nDays);
document.cookie = cookieName+"="+escape(cookieValue) + ";"; // ";expires="+expire.toGMTString();
// alert("setting " + cookieName + " value to : " + cookieValue);
}
function sendToStartPage() {
window.location = "/";
}
function checkCredentials() {
if (0) {
SetCookie();
sendToStartPage();
}
else
{
document.getElementById ('i_username_1').disabled = false;
document.getElementById ('i_password_1').disabled = false;
if (0)
alert("");
document.getElementById("i_username_1").focus();
}
}
function EncryptPassword()
{
var passwordInput = document.getElementById ('i_password_1');
var encryptedpasswordInput = "";
encryptedpasswordInput = final_encode(passwordInput.value);
document.getElementById ('i_password').value = encryptedpasswordInput;
document.getElementById ('i_password').disabled = false;
passwordInput.disabled = true;
document.getElementById ('i_username').value = document.getElementById ('i_username_1').value;
document.getElementById ('i_username').disabled = false;
document.getElementById ('i_username_1').disabled = true;
}
function final_encode(inputVal)
{
var output = "";
var c1, c2, c3, x1, x2, x3, x4;
var i = 0;
var keyVal="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
inputVal = init_encode(inputVal);
while (i < inputVal.length)
{
c1 = inputVal.charCodeAt(i++);
c2 = inputVal.charCodeAt(i++);
c3 = inputVal.charCodeAt(i++);
x1 = c1 >> 2;
x2 = ((c1 & 3) << 4) | (c2 >> 4);
x3 = ((c2 & 15) << 2) | (c3 >> 6);
x4 = c3 & 63;
if (isNaN(c2))
{
x3 = x4 = 64;
} else
if (isNaN(c3))
{
x4 = 64;
}
output = output +
keyVal.charAt(x1) + keyVal.charAt(x2) +
keyVal.charAt(x3) + keyVal.charAt(x4);
}
return output;
}
function init_encode(inputVal)
{
inputVal = inputVal.replace(/\r\n/g,"\n");
var outVal = "";
for (var n = 0; n < inputVal.length; n++)
{
var c = inputVal.charCodeAt(n);
if (c < 128)
{
outVal += String.fromCharCode(c);
}
else if((c > 127) && (c < 2048)) {
outVal += String.fromCharCode((c >> 6) | 192);
outVal += String.fromCharCode((c & 63) | 128);
}
else {
outVal += String.fromCharCode((c >> 12) | 224);
outVal += String.fromCharCode(((c >> 6) & 63) | 128);
outVal += String.fromCharCode((c & 63) | 128);
}
}
return outVal;
}
</script>
</head>
<!-- Make sure this is always the top frame when frames are used -->
<script language="javascript">
if(top != self)
top.location.href = "/admin.cgi?action=logon";
</script>
<body onload='checkCredentials()'>
<form name="logon" method="post" action="admin.cgi?action=logon">
<table align="center" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="2"><br><br><br><br> </td>
</tr>
<tr>
<td colspan="2">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="60%%">
<tbody><tr>
<td align="right" colspan="2"><img alt="Eltex Ltd." src="/open_auth/logo.png" border="0"></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td colspan="2"><br><br><br><br> </td>
</tr>
<tr>
<td colspan="2">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="right" class="label"> User Name </td>
<td align="left">
<input class="input-text" id="i_username_1" name="i_username_1" style="width: 128px;" maxlength="32" value="" type="text" disabled>
<input type="hidden" id="i_username" name="i_username" value="">
</td>
</tr>
<tr>
<td align="right" class="label"> Password </td>
<td align="left">
<input class="input-text" name="i_password_1" id="i_password_1" style="width: 128px;" maxlength="32" value=""
type="password" autocomplete = "off" disabled>
<input id="i_password" name="i_password" type="hidden" value="">
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td> </td>
<td align="left"><input name="login" value="Logon" type="submit" onClick="EncryptPassword();"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2"><br><br><br><br><br> <br></td>
</tr>
<tr>
<td colspan="2">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="label" colspan="2" align="center">
© 2013-2016 Eltex Ltd.
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</form>
</body>
</html>
<!-- 0.098:0 -->
С точками WEP-2ac таких проблем нет.
Как мне попасть в web-интерфейс точки?
Получили WOP-12ac. При попытке входа в web-интерфейс в браузере MS Internet Explorer 11 (в Edge тоже самое) получаю страницу с полями для ввода логина/пароля при этом вверху страницы присутствует следующий текст
Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-control: no-cache X-Frame-Options: sameorigin X-XSS-Protection: 1; mode=block Content-Type: text/html; charset=UTF-8
После ввода логина/пароля остаётся белый фон страницы и вверху тот же текст.
Если использовать другой браузер (Opera, Chrome) то при попытке входа на страницу для ввода логина/пароля получаю вот это:
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-control: no-cache
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Content-Type: text/html; charset=UTF-8
<html>
<head>
<!--
Link to customer specific favicon.ico.
This file must be specially formatted as an ico file.
-->
<link REL="shortcut icon" HREF="/open_auth/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" language="javascript">
function SetCookie() {
var cookieName = "invalid";
var length = 32;
var nDays = 7;
var today = new Date();
var expire = new Date();
var cookieValue = "";
if (nDays==null || nDays==0) nDays=1;
expire.setTime(today.getTime() + 3600000*24*nDays);
document.cookie = cookieName+"="+escape(cookieValue) + ";"; // ";expires="+expire.toGMTString();
// alert("setting " + cookieName + " value to : " + cookieValue);
}
function sendToStartPage() {
window.location = "/";
}
function checkCredentials() {
if (0) {
SetCookie();
sendToStartPage();
}
else
{
document.getElementById ('i_username_1').disabled = false;
document.getElementById ('i_password_1').disabled = false;
if (0)
alert("");
document.getElementById("i_username_1").focus();
}
}
function EncryptPassword()
{
var passwordInput = document.getElementById ('i_password_1');
var encryptedpasswordInput = "";
encryptedpasswordInput = final_encode(passwordInput.value);
document.getElementById ('i_password').value = encryptedpasswordInput;
document.getElementById ('i_password').disabled = false;
passwordInput.disabled = true;
document.getElementById ('i_username').value = document.getElementById ('i_username_1').value;
document.getElementById ('i_username').disabled = false;
document.getElementById ('i_username_1').disabled = true;
}
function final_encode(inputVal)
{
var output = "";
var c1, c2, c3, x1, x2, x3, x4;
var i = 0;
var keyVal="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
inputVal = init_encode(inputVal);
while (i < inputVal.length)
{
c1 = inputVal.charCodeAt(i++);
c2 = inputVal.charCodeAt(i++);
c3 = inputVal.charCodeAt(i++);
x1 = c1 >> 2;
x2 = ((c1 & 3) << 4) | (c2 >> 4);
x3 = ((c2 & 15) << 2) | (c3 >> 6);
x4 = c3 & 63;
if (isNaN(c2))
{
x3 = x4 = 64;
} else
if (isNaN(c3))
{
x4 = 64;
}
output = output +
keyVal.charAt(x1) + keyVal.charAt(x2) +
keyVal.charAt(x3) + keyVal.charAt(x4);
}
return output;
}
function init_encode(inputVal)
{
inputVal = inputVal.replace(/\r\n/g,"\n");
var outVal = "";
for (var n = 0; n < inputVal.length; n++)
{
var c = inputVal.charCodeAt(n);
if (c < 128)
{
outVal += String.fromCharCode(c);
}
else if((c > 127) && (c < 2048)) {
outVal += String.fromCharCode((c >> 6) | 192);
outVal += String.fromCharCode((c & 63) | 128);
}
else {
outVal += String.fromCharCode((c >> 12) | 224);
outVal += String.fromCharCode(((c >> 6) & 63) | 128);
outVal += String.fromCharCode((c & 63) | 128);
}
}
return outVal;
}
</script>
</head>
<!-- Make sure this is always the top frame when frames are used -->
<script language="javascript">
if(top != self)
top.location.href = "/admin.cgi?action=logon";
</script>
<body onload='checkCredentials()'>
<form name="logon" method="post" action="admin.cgi?action=logon">
<table align="center" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="2"><br><br><br><br> </td>
</tr>
<tr>
<td colspan="2">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="60%%">
<tbody><tr>
<td align="right" colspan="2"><img alt="Eltex Ltd." src="/open_auth/logo.png" border="0"></td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td colspan="2"><br><br><br><br> </td>
</tr>
<tr>
<td colspan="2">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="right" class="label"> User Name </td>
<td align="left">
<input class="input-text" id="i_username_1" name="i_username_1" style="width: 128px;" maxlength="32" value="" type="text" disabled>
<input type="hidden" id="i_username" name="i_username" value="">
</td>
</tr>
<tr>
<td align="right" class="label"> Password </td>
<td align="left">
<input class="input-text" name="i_password_1" id="i_password_1" style="width: 128px;" maxlength="32" value=""
type="password" autocomplete = "off" disabled>
<input id="i_password" name="i_password" type="hidden" value="">
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td> </td>
<td align="left"><input name="login" value="Logon" type="submit" onClick="EncryptPassword();"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2"><br><br><br><br><br> <br></td>
</tr>
<tr>
<td colspan="2">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="label" colspan="2" align="center">
© 2013-2016 Eltex Ltd.
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</form>
</body>
</html>
<!-- 0.098:0 -->
С точками WEP-2ac таких проблем нет.
Как мне попасть в web-интерфейс точки?