Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860
IPTV application update - t-hack.com - Hack X300T / X301T

IPTV application update

From t-hack.com - Hack X300T / X301T
Jump to: navigation, search
(application update information added)
 
(part file decryption coded added)
Line 33: Line 33:
  
 
A tool to decompress, decrypt, join and extract the PART files can be found here <<Link will be provided soon>>
 
A tool to decompress, decrypt, join and extract the PART files can be found here <<Link will be provided soon>>
 +
 +
 +
here is the java code to decompress and decrypt PART files:
 +
 +
<pre>InputStream in = new FileInputStream("data/"+part.getName());
 +
if (part.isZlib())
 +
{
 +
  in = new InflaterInputStream(in);
 +
}
 +
 +
int len = -1;
 +
int partLength = 0;
 +
while ( (len=in.read(buffer)) != -1)
 +
{
 +
  for (int i = 0; i < len; i++)
 +
  {
 +
      byte a = (byte) ( (((int)buffer[i]) >> 5) & 0x07);
 +
      byte b = (byte) ( (((int)buffer[i]) << 3) & 0xF8);
 +
      byte c = (byte) (a | b);
 +
      byte d = (byte) (c ^ (partLength++ & 0xff));
 +
      buffer[i] = d;
 +
  }
 +
  out.write(buffer, 0, len);
 +
}</pre>

Revision as of 01:45, 26 December 2007

Personal tools