Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

how to decrypt and decode png files to real file (.ass)

(http://stream-recorder.com/forum/showthread.php?t=16727)

blurg 11-17-2014 08:00 AM

Re: how to decrypt and decode png files to real file (.ass)


 
i have take the ksv script with little adapt to decompile mulutibu swf and it work perfectly
aes.as is present inside with this fucking key XD

kojiro 11-19-2014 05:45 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Adapt what?
Send the KSV please.

baka.shinji 11-20-2014 10:38 PM

Re: how to decrypt and decode png files to real file (.ass)


 
@blurg: could you share your script with us please ?

locobastos 12-16-2014 01:05 PM

Re: how to decrypt and decode png files to real file (.ass)


 
Can someone learn to us how to find the key plz ?

On the last AnimeDigital.php script of KSV, I thank I just had to replace

Code:

$key = pack("C*", 48, 99, 101, 102, 56, 56, 56, 101, 56, 48, 99, 51, 49, 48, 57, 49, 54, 102, 55, 101, 97, 98, 100, 97, 54, 100, 51, 97, 51, 98, 57, 52);
by what I found in
Code:

http://xxxxxxxxx.fr/components/com_vodvideo/mediaplayer/plugins/mulutibu/mulutibu_v4_3.fan.swf
In which we have :
scripts/com/longtailvideo/plugins/mulutibu/AES :


private static function iv() : String
      {
        var _loc1_:Array = [99,99,57,102,99,51,50,50,54,51,57,100,54,100,50,51,57,97,54,50,97,50,99,99,48,101,102,54,100,53,55,98];
        var _loc2_:* = "";
        var _loc3_:* = 0;
        while(_loc3_ < _loc1_.length)
        {
            _loc2_ = _loc2_ + String.fromCharCode(_loc1_[_loc3_]);
            _loc3_++;
        }
        return _loc2_;
      }

After ASCII to CHAR :
Their var _loc1_ = cc9fc322639d6d239a62a2cc0ef6d57b (it's right ?)

But it's not their decrypt key, isn't it ? How to find it ?

on the adnivkey.php this topic gave to us, we have

Code:

$video = the url of the vide;
$mulutibu = "http://animedigitalnetwork.fr/components/com_vodvideo/mediaplayer/plugins/mulutibu/mulutibu_v4_3.swf?2014-12-16";
$cookie="18acd9b63ecbf50de0b8c010c2b7289f=scr7v5sbl1cigjea4r34t1o164; _gat=1; 029c45c1dfee71ebf42bcb3e469d93a8=192723e9683e7be6fe590f5e2cea5495; YWRuLWF1dGhfNTY0XzA=5416ddb290d49389328251; a2506a7b1c9f80a536e0f254bf8c954d=424441415146+A+5+B55465917+7425D595D141D1111+344444E5642+6415F404A+A5B465146+01D+D1219; _ayl_ga=GA1.2.979632947.1410784725; 4447d1d3085bd19536e003183aa51b5f=aa9fd9fdebdc9c032c71330332060f8d; _ga=GA1.2.884074519.1410784653; YWRuLWF1dGhfMTIwOV85Nzk1Mg=5416dea5ec396591227138";

...

$iv=explode("24",explode("5620",explode("d030",explode("62052404d3a215d3ffff620848",$swf)[1])[1])[0]);

I don't have this so long cookie...
And the 62052404d3a215d3ffff620848 is the key ? I don't think so...

To be clear on what i'm asking for, how to find the latest decrypt key, and with which script can we decrypt these png ?

Thx in advance for answers !

blurg 12-24-2014 09:49 AM

Re: how to decrypt and decode png files to real file (.ass)


 
the better is extract base64 key code directly in swf with ffdecode

***.fr have change the protocole cookie to take the information automatiquely

gaaara 12-24-2014 10:43 PM

Re: how to decrypt and decode png files to real file (.ass)


 
blurg skype

baka.shinji 12-30-2014 01:24 PM

Re: how to decrypt and decode png files to real file (.ass)


 
Well, since nobody seems to want to share the script, could someone give me the current encryption key please?
Thank you!

locobastos 01-04-2015 01:22 PM

Re: how to decrypt and decode png files to real file (.ass)


 
Sleepingofrest, please help us, i don't want to steal your work, i just want to do what you are don't doing (i'm interrested in 23 series of their catalog you are don't doing)

gaaara 02-24-2015 09:20 PM

Re: how to decrypt and decode png files to real file (.ass)


 
wath the f**** is impossible to access on the site with any vpn .... ip is not ban

gaaara 03-20-2015 09:27 PM

Re: how to decrypt and decode png files to real file (.ass)


 
for the moment is not possible to get png a new protection is added ...

Liluy 03-25-2015 01:02 PM

Re: how to decrypt and decode png files to real file (.ass)


 
New ADN protection.
AES in multibu greatly changed.

Legremlins_Keitaro 03-25-2015 01:37 PM

Re: how to decrypt and decode png files to real file (.ass)


 
Nothing change, AES is still the same, no difference between september 2014 multibu and march 2015 multibu in the AES function.

But yes, protection change, and now they can block IP to get subtitle => you can show the video but not the subtitle.

blurg 03-26-2015 07:00 AM

Re: how to decrypt and decode png files to real file (.ass)


 
they are another protection inside swf

aes.as (base script)
and aes_constantes.as (new script)

and a few ligne in aes.as script are change
(exemple ligne 147 to 171)

Liluy 03-26-2015 10:25 AM

Re: how to decrypt and decode png files to real file (.ass)


 
2 Attachment(s)
Yes, if you want to see the difference between the old and the new here.

AES constantes :
package com.longtailvideo.plugins.mulutibu6
{
import mx.core.ByteArrayAsset;

public class AES_Constantes extends ByteArrayAsset
{

public function AES_Constantes()
{
super();
}
}
}

and

public static function d(param1:String, param2:int, param3:int = 63) : String
{

The number after param3: int = changes every day

KSV 03-26-2015 12:59 PM

Re: how to decrypt and decode png files to real file (.ass)


 
it was just a minor change in key retrieval. rest of the algorithm is still same. i will push the update to my repository soon.

KSV 03-26-2015 01:21 PM

Re: how to decrypt and decode png files to real file (.ass)


 
update pushed to the repository. if they only change third parameter on rotational basis then you can update the $start variable to new one to decrypt successfully. if someone can confirm that they don't change AES constants regularly then script can be further refined to work without requiring any changes at all. i have tested this script on this file.

Liluy 03-26-2015 01:27 PM

Re: how to decrypt and decode png files to real file (.ass)


 
Thanks you ! KSV !
It works perfectly !

blurg 03-26-2015 02:17 PM

Re: how to decrypt and decode png files to real file (.ass)


 
1 Attachment(s)
thx KSV you're the best

but i have just a question about the key in your update script

Code:

$key = substr("eab023e7fdc6e8c6908e116bc550aa7099d46f866436c5a763b0fbfb73a23eceb8d313f7722af47d4530bdbd96d970d8821d0707d284b585ff5"....
how do you have this because the ligne 135 in aes.as change everyday too


03/27/2015 00H20
the new mulutibu swf

doesn't work even when i change $start variable

KSV 03-27-2015 12:53 AM

Re: how to decrypt and decode png files to real file (.ass)


 
aes constants are embedded as binary data in swf file. you just have to get the new constants and starting number from updated swf file. i have amended the previous commit so you can directly copy paste that data with minimal changes (replace '0x' with '\x') into script.

gaaara 03-27-2015 06:47 AM

Re: how to decrypt and decode png files to real file (.ass)


 
how to get this information automatically with a script ? exemple denobis script

Code:

<?php

//get the encryption key
$swf=file_get_contents("mulutibu_v4_3.swf");
$swf        = bin2hex(gzuncompress(substr($swf,8)));
        if (!strpos($swf,"62052404d3a215d3ffff620848")) die("bad");
       
                $iv=explode("24",explode("5620",explode("d030",explode("62052404d3a215d3ffff620848",$swf)[1])[1])[0]);
               
                $key1="";
               
                foreach ($iv as $c)
                        {
                        $actual=chr(hexdec(substr($c,0,2)));
                        $key1.=$actual;
                        if (strlen($c)>2)
                                $key1.=$actual;                                                       
                        }

echo "\r\nivkey:".trim($key1);
        echo "\r\nThe key is in the file adnivkey.txt";
                file_put_contents("adnivkey.txt", trim($key1));

?>

and how to décompile swf files on linux

blurg 03-27-2015 08:45 AM

Re: how to decrypt and decode png files to real file (.ass)


 
KSV you're a god
the old iv function are not used XD

essaiedf 03-28-2015 04:32 PM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by KSV (Post 75172)
aes constants are embedded as binary data in swf file. you just have to get the new constants and starting number from updated swf file. i have amended the previous commit so you can directly copy paste that data with minimal changes (replace '0x' with '\x') into script.

Hello, I find the binary data replace '0x' with '\x' but not the starting number.
"param3:int = 59" where 59 is the starting number for today ( $start = 59; ) ?

because it's not work for me
:(

KSV 03-29-2015 12:10 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by essaiedf (Post 75239)
Hello, I find the binary data replace '0x' with '\x' but not the starting number.
"param3:int = 59" where 59 is the starting number for today ( $start = 59; ) ?

because it's not work for me
:(

make sure that you grabbed the mulutibu.swf file from same session as the subtitles file and their own player was able to decrypt and display those subtitles.

essaiedf 03-29-2015 01:17 AM

Re: how to decrypt and decode png files to real file (.ass)


 
???

on ADN.fr videos and subtitles play fine!

mulutibu.swf and png are from same session (28/03/2015) but can't decrypt it

I do a other session 29/03/2015 but mulu and png from this session but can't decrypt it to!

Can I post you a private message with 1 png, the mulu and your modified php from the same session?

KSV 03-29-2015 03:22 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by essaiedf (Post 75252)
Can I post you a private message with 1 png, the mulu and your modified php from the same session?

you can send the files via pm.

essaiedf 03-29-2015 06:39 AM

Re: how to decrypt and decode png files to real file (.ass)


 
private message send

gaaara 03-29-2015 07:09 AM

Re: how to decrypt and decode png files to real file (.ass)


 
it works fine :) test your ip on website adn it is probable that your IP is ban



to see if this is the case watching a video if it does not subtitled you is banned

essaiedf 03-29-2015 07:32 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by gaaara (Post 75268)
it works fine :) test your ip on website adn it is probable that your IP is ban



to see if this is the case watching a video if it does not subtitled you is banned

I can play video and I have subtitle on the site, I think I do a mistake on the script but where?

I hope KSV can answer me

essaiedf 03-29-2015 09:02 AM

Re: how to decrypt and decode png files to real file (.ass)


 
I do some tests:
the result are the same!

I can play video subbed in chrome and ie

but I can't decrypt png (mulutibu from chrome and ie are egal...same crc32)

I dump my system memory and I can find subtitle text when play video subbed but I can do nothing with it because text is not as .ass format and text are everywhere in memory :mad:

KSV 03-29-2015 09:44 AM

Re: how to decrypt and decode png files to real file (.ass)


 
i have checked your provided files and you are modifying the script file in correct way. how are you saving the png file? i strongly suspect that you are probably issuing the new request to download the subtitle file. i suggest you try with fiddler to save the png file originally requested by browser. if some other user can share the png file for 28 and 29 march then it would be easy to compare if you got the correct file.

gaaara 03-29-2015 10:06 AM

Re: how to decrypt and decode png files to real file (.ass)


 
the png files is compress with a http gzip :) fiddler is the solution

ksv i have a question for you i send a pm :)

essaiedf 03-29-2015 10:20 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by KSV (Post 75273)
i have checked your provided files and you are modifying the script file in correct way. how are you saving the png file? i strongly suspect that you are probably issuing the new request to download the subtitle file. i suggest you try with fiddler to save the png file originally requested by browser. if some other user can share the png file for 28 and 29 march then it would be easy to compare if you got the correct file.

It's work now!!!
Thank you!!! I download png as usual (directly in browser) but it's maybe a new protection
but with fiddler it's ok

Thank!!!!

KSV 03-29-2015 11:28 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by gaaara (Post 75274)
the png files is compress with a http gzip :) fiddler is the solution

his png file contains properly encoded base64 data so it's not due to http compression.

Quote:

Originally Posted by essaiedf (Post 75275)
I download png as usual (directly in browser) but it's maybe a new protection
but with fiddler it's ok

Most probably they are sending either junk data or data encrypted with different key when the png request doesn't contain proper authentication data.

blurg 03-30-2015 11:18 AM

Re: how to decrypt and decode png files to real file (.ass)


 
to catch the png you would take it with fiddler

the png are gzip/deflate compress after use the ksv script to decrypt it

denobis 04-02-2015 08:34 AM

Re: how to decrypt and decode png files to real file (.ass)


 
New constants

0x340x610x340x630x370x340x350x300x310x340x300x360x 340x640x350x660x300x300x370x330x660x340x350x390x63 0x660x380x630x620x370x630x360x380x360x380x340x660x 320x330x360x620x320x320x350x360x620x610x360x620x38 0x640x310x310x390x660x340x650x630x360x660x300x390x 610x360x320x650x340x340x620x330x630x640x620x640x64 0x320x310x630x380x360x660x640x620x620x370x620x610x 640x300x360x340x660x370x340x620x370x350x390x310x30 0x660x390x360x310x310x630x620x630x640x620x380x660x 390x620x370x650x300x620x380x640x650x340x340x650x32 0x350x610x620x330x320x620x390x310x370x660x370x300x 310x390x640x320x370x330x660x380x650x350x380x310x33 0x610x350x630x350x390x350x650x300x37

start 63

denobis 04-02-2015 10:33 AM

Re: how to decrypt and decode png files to real file (.ass)


 
To get the key simply search mulutibu in adownloader.

edit:

Put the png in atres's folder under name adn.png

denobis 04-10-2015 04:56 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Adn is again working on adownloader with de automatic decryption of the subtitles.

I've checked it with free videos. You need anyway login's parameters.

Check it.

Tested with

http://animedigitalnetwork.fr/video/...av-1-rencontre

kojiro 06-08-2015 01:23 AM

Re: how to decrypt and decode png files to real file (.ass)


 
I absolutely do not understand what you say.
Someone could make a clear and simple tutorial please.

Note: adownloader not function at all with me.

Thanks in advance

denobis 06-08-2015 02:57 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by kojiro (Post 77256)
I absolutely do not understand what you say.
Someone could make a clear and simple tutorial please.

Note: adownloader not function at all with me.

Thanks in advance

Simply search "mulutibu" and you'll get the key. The downloading of the videos worked some time ago but now i dont know.

kojiro 06-08-2015 03:35 AM

Re: how to decrypt and decode png files to real file (.ass)


 
Quote:

Originally Posted by denobis (Post 77257)
Simply search "mulutibu" and you'll get the key. The downloading of the videos worked some time ago but now i dont know.

Could you explain step by step what I need to do, how to do and where to find what I need.
And how to use the script ksv
I know, I'm an idiot.
Only ass interested, videos are easily found on the web.
A big thank you in advance.


All times are GMT -6. The time now is 12:28 AM.