Source Code

Transcrição

Source Code
Source Code.txt
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Technicolor Gateway - Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="/styles.css">
</head>
<body height="100%" style="margin:0px;">
<noscript>
<h1>Technicolor - Technicolor Gateway</h1>
<h4>To view the Web interface of your device, JavaScript must be supported
and enabled on your browser! <br><br>Please enable scripting and refresh your
browser.</h4>
</noscript>
<script type="text/javascript">
//<![CDATA[
function disable_fields(theForm)
{
var len = theForm.elements.length;
for (var i = 0; i < len; i++) {
// Don't disable "hidden" fields.
// Don't disable the input elem "user", to compatible with Safari and Opera
// which execute this function before form submit() method.
if((theForm.elements[i].type.toLowerCase() != "hidden") &&
(theForm.elements[i].name != "user"))
theForm.elements[i].disabled = 1;
}
}
function setLanguage(langCode)
{
document.langSelect.elements[0].value = langCode;
document.langSelect.submit();
disable_fields(document.langSelect);
}
//----RTL GUI support start---function traversingDOMNode(rootNode, callback)
{
var currentNode = rootNode.childNodes;
for (var i = 0; i < currentNode.length; i++){
callback(currentNode[i]);
traversingDOMNode(currentNode[i], callback);
}
}
function alignByClassFlag(node)
{
if (node.className && node.className != "") {
if (node.className.search(/js_right/i)!=-1) {
node.style.textAlign = "right";
}
else if (node.className.search(/js_left/i)!=-1) {
node.style.textAlign = "left";
}
}
}
function getLanguageDirection(lang_code)
{
var dir = "ltr";
var rtlLangSet = new Array()
rtlLangSet[0] = "ar"
for (var i=0; i<rtlLangSet.length; i++) {
if (lang_code && (lang_code.toLowerCase() == rtlLangSet[i])) {
Página 1
Source Code.txt
dir = "rtl";
break;
}
}
return dir;
}
function js_dir_rtl()
{
document.documentElement.dir = "rtl";
traversingDOMNode(document.documentElement, alignByClassFlag);
}
//----end---function noenter(e) {
var keycode;
if (window.event)
keycode = window.event.keyCode;
else if (e)
keycode = e.which;
else
return true;
if (keycode == 13)
return false;
else
return true;
}
// NOTE: Chrome and Safari will ignore this function and submit form directly,
//
when press "ENTER".
function enter_submit(e) {
var keycode;
if (window.event)
keycode = window.event.keyCode;
else if (e)
keycode = e.which;
else
return true;
if (keycode == 13) {
submitAuthentication();
}
return true;
}
var hex_chr = "0123456789abcdef";
function rhex(num)
{
str = "";
for(j = 0; j <= 3; j++)
str += hex_chr.charAt((num >> (j * 8 + 4)) & 0x0F) +
hex_chr.charAt((num >> (j * 8)) & 0x0F);
return str;
}
/*
* Convert a string to a sequence of 16-word blocks, stored as an array.
* Append padding bits and the length, as described in the MD5 standard.
*/
function str2blks_MD5(str)
{
nblk = ((str.length + 8) >> 6) + 1;
blks = new Array(nblk * 16);
for(i = 0; i < nblk * 16; i++) blks[i] = 0;
for(i = 0; i < str.length; i++)
Página 2
Source Code.txt
blks[i >> 2] |= str.charCodeAt(i) << ((i % 4) * 8);
blks[i >> 2] |= 0x80 << ((i % 4) * 8);
blks[nblk * 16 - 2] = str.length * 8;
return blks;
}
/*
* Add integers, wrapping at 2^32. This uses 16-bit operations internally
* to work around bugs in some JS interpreters.
*/
function add(x, y)
{
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
return (msw << 16) | (lsw & 0xFFFF);
}
/*
* Bitwise rotate a 32-bit number to the left
*/
function rol(num, cnt)
{
return (num << cnt) | (num >>> (32 - cnt));
}
/*
* These functions implement the basic operation for each round of the
* algorithm.
*/
function cmn(q, a, b, x, s, t)
{
return add(rol(add(add(a, q), add(x, t)), s), b);
}
function ff(a, b, c, d, x, s, t)
{
return cmn((b & c) | ((~b) & d), a, b, x, s, t);
}
function gg(a, b, c, d, x, s, t)
{
return cmn((b & d) | (c & (~d)), a, b, x, s, t);
}
function hh(a, b, c, d, x, s, t)
{
return cmn(b ^ c ^ d, a, b, x, s, t);
}
function ii(a, b, c, d, x, s, t)
{
return cmn(c ^ (b | (~d)), a, b, x, s, t);
}
/*
* Take a string and return the hex representation of its MD5.
*/
function MD5(str)
{
x = str2blks_MD5(str);
var a = 1732584193;
var b = -271733879;
var c = -1732584194;
var d = 271733878;
for(i
{
var
var
var
var
= 0; i < x.length; i += 16)
olda
oldb
oldc
oldd
=
=
=
=
a;
b;
c;
d;
Página 3
a
d
c
b
a
d
c
b
a
d
c
b
a
d
c
b
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
ff(a,
ff(d,
ff(c,
ff(b,
ff(a,
ff(d,
ff(c,
ff(b,
ff(a,
ff(d,
ff(c,
ff(b,
ff(a,
ff(d,
ff(c,
ff(b,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
x[i+ 0],
x[i+ 1],
x[i+ 2],
x[i+ 3],
x[i+ 4],
x[i+ 5],
x[i+ 6],
x[i+ 7],
x[i+ 8],
x[i+ 9],
x[i+10],
x[i+11],
x[i+12],
x[i+13],
x[i+14],
x[i+15],
Source Code.txt
7 , -680876936);
12, -389564586);
17, 606105819);
22, -1044525330);
7 , -176418897);
12, 1200080426);
17, -1473231341);
22, -45705983);
7 , 1770035416);
12, -1958414417);
17, -42063);
22, -1990404162);
7 , 1804603682);
12, -40341101);
17, -1502002290);
22, 1236535329);
a
d
c
b
a
d
c
b
a
d
c
b
a
d
c
b
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
gg(a,
gg(d,
gg(c,
gg(b,
gg(a,
gg(d,
gg(c,
gg(b,
gg(a,
gg(d,
gg(c,
gg(b,
gg(a,
gg(d,
gg(c,
gg(b,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
x[i+ 1],
x[i+ 6],
x[i+11],
x[i+ 0],
x[i+ 5],
x[i+10],
x[i+15],
x[i+ 4],
x[i+ 9],
x[i+14],
x[i+ 3],
x[i+ 8],
x[i+13],
x[i+ 2],
x[i+ 7],
x[i+12],
5 ,
9 ,
14,
20,
5 ,
9 ,
14,
20,
5 ,
9 ,
14,
20,
5 ,
9 ,
14,
20,
-165796510);
-1069501632);
643717713);
-373897302);
-701558691);
38016083);
-660478335);
-405537848);
568446438);
-1019803690);
-187363961);
1163531501);
-1444681467);
-51403784);
1735328473);
-1926607734);
a
d
c
b
a
d
c
b
a
d
c
b
a
d
c
b
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
hh(a,
hh(d,
hh(c,
hh(b,
hh(a,
hh(d,
hh(c,
hh(b,
hh(a,
hh(d,
hh(c,
hh(b,
hh(a,
hh(d,
hh(c,
hh(b,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
x[i+ 5],
x[i+ 8],
x[i+11],
x[i+14],
x[i+ 1],
x[i+ 4],
x[i+ 7],
x[i+10],
x[i+13],
x[i+ 0],
x[i+ 3],
x[i+ 6],
x[i+ 9],
x[i+12],
x[i+15],
x[i+ 2],
4 ,
11,
16,
23,
4 ,
11,
16,
23,
4 ,
11,
16,
23,
4 ,
11,
16,
23,
-378558);
-2022574463);
1839030562);
-35309556);
-1530992060);
1272893353);
-155497632);
-1094730640);
681279174);
-358537222);
-722521979);
76029189);
-640364487);
-421815835);
530742520);
-995338651);
a
d
c
b
a
d
c
b
a
d
c
b
a
d
c
b
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
ii(a,
ii(d,
ii(c,
ii(b,
ii(a,
ii(d,
ii(c,
ii(b,
ii(a,
ii(d,
ii(c,
ii(b,
ii(a,
ii(d,
ii(c,
ii(b,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
d,
c,
b,
a,
x[i+ 0],
x[i+ 7],
x[i+14],
x[i+ 5],
x[i+12],
x[i+ 3],
x[i+10],
x[i+ 1],
x[i+ 8],
x[i+15],
x[i+ 6],
x[i+13],
x[i+ 4],
x[i+11],
x[i+ 2],
x[i+ 9],
6 ,
10,
15,
21,
6 ,
10,
15,
21,
6 ,
10,
15,
21,
6 ,
10,
15,
21,
-198630844);
1126891415);
-1416354905);
-57434055);
1700485571);
-1894986606);
-1051523);
-2054922799);
1873313359);
-30611744);
-1560198380);
1309151649);
-145523070);
-1120210379);
718787259);
-343485551);
Página 4
Source Code.txt
a
b
c
d
=
=
=
=
add(a,
add(b,
add(c,
add(d,
olda);
oldb);
oldc);
oldd);
}
return rhex(a) + rhex(b) + rhex(c) + rhex(d);
}
var
var
var
var
realm
nonce
qop =
uri =
= "Technicolor Gateway";
= "79034:994906:d4176f3ba600614def67a7ec5e44dc93";
"auth";
"/login.lp";
function submitAuthentication()
{
var user = document.getElementById("user").value;
var pwd = document.getElementById("password").value;
document.getElementById("password").disabled = true;
var HA1 = MD5(user + ":" + realm + ":" + pwd);
var HA2 = MD5("GET" + ":" + uri);
document.getElementById("hidepw").value = MD5(HA1 + ":" + nonce +
":" + "00000001" + ":" + "xyz" + ":" + qop + ":" +
HA2);
document.authform.submit();
disable_fields(document.authform);
}
function cancelLogin()
{
if (window.opener || window.name == "userpage")
window.close();
// Close pop-up login window
else
location.href="/";
}
//]]>
</script>
<table cellspacing="0" cellpadding="0" border="0" class="main" height="100%">
<tr>
<td>
<table cellspacing="0" cellpadding="0" class="banner" width="100%">
<tr>
<td>
<table class="nopadtable">
<tr><td id="productName" class="product
js_right">
<script type="text/javascript">
var headerText =
'Technicolor&nbsp;TG784n v3';
document.write(headerText.replace("
","&nbsp;"));
</script>
</td></tr>
<tr><td class="displaySettings js_right"
id="displaySettings">
<span class="langSelect"
id="langSelect">
<form name="langSelect"
action="" method="post"><input type="hidden" name="6" value="en">
<input type="hidden" name="rn"
value="-574868112">
<script type="text/javascript">
var g_dir = getLanguageDirection("pt");
</script>
Idioma: <a href="" onClick="setLanguage('en');return false;"
title="English">en</a>&nbsp;&nbsp;<strong>pt</strong>&nbsp;&nbsp;
</form>
Página 5
Source Code.txt
</span>
</td></tr>
<script type="text/javascript">
</script>
</table>
</td>
<td class="logo js_left">
<img src="/images/logo.gif"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="page" width="760">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td>
<div class='contentcontainer'>
<hr>
<div class='contentitem'>
<table cellspacing='0' cellpadding='0'>
<tr><td class='icon js_right' valign='top' width='100px'><img
src='/images/user__xl.gif' alt='Login !'></td>
<td class='data js_right' valign='top'><table cellspacing='0'
cellpadding='0'><tr><td align='left' class='js_right'><span
class='itemtitle'>Login</span></td><td align='right'></td></tr>
<tr><td colspan='2'>
<p>Introduza o seu nome de utlizador e a sua password para aceder ao
Technicolor Gateway</p>
<form method="post" action="login.lp" name="authform" id="authform">
<input type="hidden" name="rn" value="731674120">
<input type="hidden" name="hidepw" id="hidepw" value=""/>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td width="40" valign="top"></td>
<td valign="top">
<table width='100%' class="datatable" cellspacing='0' cellpadding='0'>
<tr><td></td><td width='30px'></td><td width='220px'></td><td
width='50px'></td></tr>
<tr><td colspan='4' height='7'><img src='/images/spacer.gif' alt=''
border='0' height='7' width='1'></td></tr>
<tr>
<td width='120px'>Nome de utilizador:</td>
<td colspan='3'><input type="text" name="user" id="user"
style="width: 250px;" onkeypress="return noenter(event)" maxlength="63" /></td>
</tr>
<tr><td colspan='4' height='7'><img src='/images/spacer.gif' alt=''
border='0' height='7' width='1'></td></tr>
<tr>
<td width='120px'>Password:</td>
<td colspan='3'><input type="password" name="password" id="password"
maxlength="64" style="width: 250px;" onkeypress="return enter_submit(event);"
/></td></td>
</tr>
<tr><td colspan='4' height='7'><img src='/images/spacer.gif' alt=''
border='0' height='7' width='1'></td></tr>
<tr>
<td colspan="4" align="right">
<input name="ok" type="button" value="OK"
onclick='submitAuthentication()' />
Página 6
Source Code.txt
<input name="cancel" type="button" value="Cancelar"
onclick='cancelLogin()' />
</td>
</tr>
</table>
</td></tr>
</table>
</form>
</td></tr></table>
</td></tr></table>
</div>
<script type="text/javascript">
//<![CDATA[
document.authform.user.focus();
if (g_dir == "rtl")
js_dir_rtl();
//]]>
</script>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Página 7

Documentos relacionados

1,8 MB - Landesamt für Statistik Niedersachsen

1,8 MB - Landesamt für Statistik Niedersachsen Gemeinde weist eine durch Grenzänderungen im 1. Halbjahr 2008 bedingte Bevölkerungszu- oder -abnahme auf (Tab. 3). Über die Art der Gebietsänderung sowie über die davon noch betroffenen Gemeinden b...

Leia mais

FEIRAS ITÁLIA 2015

FEIRAS ITÁLIA 2015 www.lineapelle-fair.it www.exporivaschuh.it www.micamonline.com www.lineapelle-fair.it www.sigep.it www.pittimmagine.com www.vinitaly.it www.sana.it www.macfrut.it www.cosmit.it www.cosmit.it www.c...

Leia mais