VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. here is the solution
    <?php
    function decryptSubtitle($encrypted, $key = "encryption ID ")
    {
    $decrypted = "";
    $encryptedLen = strlen($encrypted);
    $keyLen = strlen($key);
    for ($i = 0; $i < $encryptedLen; $i++)
    {
    $dataCharCode = ord($encrypted[$i]);
    $keyInt = substr($key, ($i % $keyLen) - 1, 1);
    $decodedChar = chr($dataCharCode - $keyInt);
    $decrypted = $decrypted . $decodedChar;
    }
    $decrypted = base64_decode($decrypted);
    return $decrypted;
    }




    file_put_contents("subtitles.txt", decryptSubtitle(file_get_contents("link for your files")));
    ?>
    and you have to load the page and the file will be created
    Last edited by hexodark; 11th Nov 2013 at 15:35.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Video streaming? I'm moving you to our subitle function.

    Nope, I have no idea how to decode it.
    Quote Quote  
  3. a forum member told me the following
    For the subtitles you have to guess how they are encrypted and encoded.
    It can be done by decompiling the flash player and finding the corresponding ActionScript function that do it and then adapt it to your own needs
    I do not understand
    Quote Quote  
  4. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    IMHO, you should upload a copy of your problematic file(s) to this forum
    (OR to elsewhere, except mega.co.nz of course).

    I know nothing about ActionScript or decryption, BUT someone else may know,
    and a sample file probably wouldn't be "useless" in this case.
    Quote Quote  
  5. resolved
    Last edited by hexodark; 11th Nov 2013 at 12:33.
    Quote Quote  
  6. Originally Posted by hexodark View Post
    here is the solution
    <?php
    function decryptSubtitle($encrypted, $key = "encryption ID ")
    {
    $decrypted = "";
    $encryptedLen = strlen($encrypted);
    $keyLen = strlen($key);
    for ($i = 0; $i < $encryptedLen; $i++)
    {
    $dataCharCode = ord($encrypted[$i]);
    $keyInt = substr($key, ($i % $keyLen) - 1, 1);
    $decodedChar = chr($dataCharCode - $keyInt);
    $decrypted = $decrypted . $decodedChar;
    }
    $decrypted = base64_decode($decrypted);
    return $decrypted;
    }




    file_put_contents("subtitles.txt", decryptSubtitle(file_get_contents("link for your files")));
    ?>
    and you have to load the page and the file will be created
    act honestly
    original author decryption script
    http://stream-recorder.com/forum/showpost.php?p=63893&postcount=2

    decryption script to several websites without mentioning the original author,this is not how it's supposed to be
    you can't present someone else's work as your own.
    Quote Quote  
  7. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    [ 9876543210 ]
    Last edited by El Heggunte; 12th Nov 2013 at 00:53. Reason: zzzzzzzzzzz
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!