billythekids / plugin.video.bimozie

Support to watch movies on several Vietnamese sites
GNU General Public License v3.0
38 stars 24 forks source link

Need help for anime 47 #34

Closed sviet2k closed 3 years ago

sviet2k commented 3 years ago

Hi Billy,

If you have time, please help me to resolve the link from Anime 47 👍

Here is the output to be used to get the link:

Đang tải phim...

I tried to use gibberishAES to decode "thanhhoa" with key = "caphedaklak" but it fails.

Thanks in advance for your help.

billythekids commented 3 years ago

:D i'm working on this site as well, but currently couldn't mange to buy me time to continue

sviet2k commented 3 years ago

Great. Take your time. Don't rush :) 👍

sviet2k commented 3 years ago

I just find the solution. I would like to share with you to save your time:

        m = re.search('atob\("(.*?)"',p)
        if m:
            tt = base64.b64decode(m.group(1))
            enc_data = utils.json.loads(tt)
            ciphertext = 'Salted__' + enc_data['s'].decode('hex') + base64.b64decode(enc_data['ct'])
            ciphertext = base64.b64encode(ciphertext)
            print utils.gibberishAES(ciphertext, 'caphedaklak')
billythekids commented 3 years ago

Nice, it works perfectly :D Many thank