浙江网通的华为HG527的超级账号和密码是什么啊。。
试过好多组都不行,有没有用这个设备的朋友啊。提供下超级账号和密码,非常感谢QQ:363389454 在账号密码的位处看源代码看看有没有相关信息 在账号密码的位处看源代码看看有没有相关信息 东哥说的是在输入HG527 IP后的那个密码登陆的界面吗?
现在是如下的代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>用户登陆</title>
<style type="text/css">
<!--
#div_visite {
margin-left: 50px;
margin-top: 100px;
margin-right: 50px;
margin-bottom: 100px;
font-family: "宋体";
font-size: 12px;
color: #333333;
}
table {
font-family: "宋体";
font-size: 15px;
}
-->
</style>
<!--
<link href="/css/stylemain.css" rel="stylesheet" type="text/css" />
-->
</head>
<script language="javascript">
var LoginTimes = "0";
var signal = "0";
var level = "1";
var base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var base64DecodeChars = new Array(
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1,
-1,0,1,2,3,4,5,6,7,8,9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,
-1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1);
function base64encode(str) {
var out, i, len;
var c1, c2, c3;
len = str.length;
i = 0;
out = "";
while(i < len) {
c1 = str.charCodeAt(i++) & 0xff;
if(i == len)
{
out += base64EncodeChars.charAt(c1 >> 2);
out += base64EncodeChars.charAt((c1 & 0x3) << 4);
out += "==";
break;
}
c2 = str.charCodeAt(i++);
if(i == len)
{
out += base64EncodeChars.charAt(c1 >> 2);
out += base64EncodeChars.charAt(((c1 & 0x3)<< 4) | ((c2 & 0xF0) >> 4));
out += base64EncodeChars.charAt((c2 & 0xF) << 2);
out += "=";
break;
}
c3 = str.charCodeAt(i++);
out += base64EncodeChars.charAt(c1 >> 2);
out += base64EncodeChars.charAt(((c1 & 0x3)<< 4) | ((c2 & 0xF0) >> 4));
out += base64EncodeChars.charAt(((c2 & 0xF) << 2) | ((c3 & 0xC0) >>6));
out += base64EncodeChars.charAt(c3 & 0x3F);
}
return out;
}
function base64decode(str) {
var c1, c2, c3, c4;
var i, len, out;
len = str.length;
i = 0;
out = "";
while(i < len) {
/* c1 */
do {
c1 = base64DecodeChars;
} while(i < len && c1 == -1);
if(c1 == -1)
break;
/* c2 */
do {
c2 = base64DecodeChars;
} while(i < len && c2 == -1);
if(c2 == -1)
break;
out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4));
/* c3 */
do {
c3 = str.charCodeAt(i++) & 0xff;
if(c3 == 61)
return out;
c3 = base64DecodeChars;
} while(i < len && c3 == -1);
if(c3 == -1)
break;
out += String.fromCharCode(((c2 & 0XF) << 4) | ((c3 & 0x3C) >> 2));
/* c4 */
do {
c4 = str.charCodeAt(i++) & 0xff;
if(c4 == 61)
return out;
c4 = base64DecodeChars;
} while(i < len && c4 == -1);
if(c4 == -1)
break;
out += String.fromCharCode(((c3 & 0x03) << 6) | c4);
}
return out;
}
/*function getElById(sId)
{
if (document.getElByIdById)
{
// standard
return document.getElByIdById(sId);
}
else if (document.all)
{
// old IE
return document.all;
}
else if (document.layers)
{
// Netscape 4
return document.layers;
}
else
{
return null;
}
}*/
/*start of HGW 2008.1.10 For A36D04370 FireFox 显示 V100R001C02B013 by w00104696*/
function getElById(sId)
{
return getElement(sId);
}
function getElementById(sId)
{
if (document.getElementById)
{
return document.getElementById(sId);
}
else if (document.all)
{
// old IE
return document.all(sId);
}
else if (document.layers)
{
// Netscape 4
return document.layers;
}
else
{
return null;
}
}
/*getElByName*/
function getElementByName(sId)
{ // standard
if (document.getElementsByName)
{
var element = document.getElementsByName(sId);
if (element.length == 0)
{
return null;
}
else if (element.length == 1)
{
return element;
}
return element;
}
}
function getElement(sId)
{
var ele = getElementByName(sId);
if (ele == null)
{
return getElementById(sId);
}
return ele;
}
/*end of HGW 2008.1.10 For A36D04370 FireFox 显示 V100R001C02B013 by w00104696*/
function SubmitForm()
{
var Form = getElById('LoginForm');
with (Form)
{
if (Username.value == "")
{
alert("帐号不能为空");
return false;
}
if (Password.value == "")
{
alert("密码不能为空");
return false;
}
var cookie = "Cookie=" + "UserName:" + Username.value + ":" + "PassWord:"
+ base64encode(Password.value) + ":id=-1;path=/";
document.cookie = cookie;
location.replace("/userLogin.cgi");
//Form.action = '/html/content.asp';
return false;
}
}
function LoadFrame()
{
var cookie = "Cookie=" + "UserName:" + "" + ":" + "PassWord:"
+ "" + ":id=-1;path=/";
document.cookie = cookie;
}
</script>
<body onLoad="LoadFrame();">
<script language="JavaScript" type="text/javascript">
if (LoginTimes >= 3)
{
document.write('您已经连续三次登陆失败,请1分钟后再登陆!');
}
/*start of HG_Support 2007.11.09 HG522V100R001C02B010 by wangxuting*/
/*用户修改密码成功后,提示信息*/
if (signal == 1)
{
alert("修改成功!");
}
/*end of HG_Support 2007.11.09 HG522V100R001C02B010 by wangxuting*/
</script>
<form id="LoginForm" name="LoginForm" method="GET" onsubmit="return SubmitForm()">
<div id="div_visite">
<table width="329" height="45%" align="center" cellpadding="0" cellspacing="0" bordercolor="#E7E7E7" bgcolor="#E7E7E7" border="0" style="position:relative;">
<tr>
<td height="10" colspan="3" align="center" bgcolor="#FFFFFF"><label><img src="../images/logo.gif" width="329" height="132" /></label></td>
</tr>
<tr>
<td width="106" height="50" align="right" >帐号:</td>
<td width="40"> </td>
<td width="210"><label>
<input name="Username" type="text" id="Username" style="width:140px; font-family:Arial"/>
</label></td>
</tr>
<tr>
<td height="30" align="right">密码:</td>
<td> </td>
<td><input name="Password" type="password" id="Password" style="width:140px; font-family:Arial"/></td>
</tr>
<tr>
<td></td>
<td> </td>
<td style="color:#FF0000">
<script language="javascript">
if (LoginTimes > 0 && LoginTimes < 3)
{
var str = '您已经' +LoginTimes + '次用户名或密码输入错误!';
document.write(str);
}
</script> </td>
</tr>
</table>
<table width="329" align="center" cellpadding="0" cellspacing="0" bordercolor="#E7E7E7" bgcolor="#E7E7E7" border="0" style="position:relative;">
<tr>
<tdalign="right" ><input type="submit"id="btnSubmit" name="btnSubmit" value=" 确 定 "/></td>
<td align="center" >
<input type="reset"name="Submit2" value=" 取 消 " />
</td>
</tr>
</table>
</div>
</form>
<script language="JavaScript" type="text/javascript">
if (LoginTimes >= 3)
{
getElById('div_visite').style.display = 'none';
}
else
{
getElById('Username').focus();
}
</script>
</body>
</html>
页:
[1]