L
Lasse Reichstein Nielsen
Rod Speed said:Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. ....
There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.
Anyone got any ideas about how to unencrypt it ?
It seems that the decryption function changes name too. In my current
load of the page, it's called "kt".
To see the "kt" function, simply write this in the address line:
javascript:kt
.... or replace "kt" with the name of the function in your page.
It's rather cryptic. Here is another function that decodes the string
(made without looking at their code, it confuzed more than it helped
anyway):
---
function decode(s) {
var buf = [], n=s.length, h=(n+1)>>1;
for(var i = 0; i<h ; i++) {
buf=s.charAt(i*2+1);
buf[n-i]=s.charAt(i*2);
}
return buf.join("");
}
---
(I don't know whether it works with even length strings, I only had
an odd length string to test with).
You can't hide parts of a web page from the person who controls the
client
/L