Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how to decrypt and decode png files to real file (.ass)Hi,
I have an coded and encrypted .png file that I would like to decrypt and decode using an « ActionScript » fonction. I know it’s coded using « basse64 » but I have no ideas what it is encrypted with. This fonction has what it takes to decrypt and decode and I want to use it to get the original .ass file. I don’t have all the informations but I really am looking forward to make this all work. Step #1 : Discovery of the encryption Step #2 : Make the modifications to use the fonction to grab the .ass file. Quote:
A++ |
#2
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)you can use the following php script to decode the subtitles file.
Code:
<?php function decryptSubtitle($encrypted, $key = "5463201897") { $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("decrypted_subtitles.txt", decryptSubtitle(file_get_contents("http://animedigitalnetwork.fr/picture_3615.png"))); ?> |
#3
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)resolved !! tx
|
#4
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)you have posted my decryption script to several websites without mentioning the original author or this thread. this is not how it's supposed to be. you can't present someone else's work as your own. i have wasted time to look at your problem and come up with a working solution. so atleast give the credit where it's due.
|
#5
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)sorry I did not think about it .... and I can remove all on your request
|
#6
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)i am not against sharing of the script. but atleast you could have mentioned the original thread.
|
#7
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)Without KSV many streams wouldn't work on VLC, so give him at least credit on what he does.
|
#8
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)Hello
Quote:
a pop to download the file and would like to center the form in the center of the image http://i.imgur.com/dkHJSZR.png sorry for my english tx |
#9
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)Thanks, KSV, for the script.
The Key 5463201897 no longer works. Do you have the solution for the new key? http://animedigitalnetwork.fr/picture_4916.png PS : Sorry if my English is not perfect. |
#10
|
|||
|
|||
Re: how to decrypt and decode png files to real file (.ass)I am looking for the solution
links that may be useful http://stackoverflow.com/questions/8...-encrypted-xml http://stackoverflow.com/questions/2...448441#2448441 http://stackoverflow.com/questions/1...ryption-in-php aes in swf http://pastebin.com/71rD0KNb xml http://pastebin.com/QHxsX20H the encrypted code possibly this code im not sure yet 50,52,115,98,117,109,54,100,122,102,56,114,101 Last edited by gaaara : 04-16-2014 at 03:44 AM. |
Tags: assfiles, rtmpdump |
Thread Tools | |
Display Modes | |
|
|