View Single Post
  #232  
Old 06-15-2014, 08:27 AM
lorus lorus is offline
Junior Member
 
Join Date: Apr 2013
Posts: 7
lorus is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Hi KSV,

I'm in trouble with unicode encoded token strings that contain special characters. In the swf they are created by base64 decoding a string like:

Code:
public static var ackey:string = abkey.tostring();
public static var abkey:ByteArray = Base64Decoder.decode("#RGd%has4102gH2bvXa0#w@1");
ackey is then later used as securetoken:

Code:
_loc2_ = TEA.decrypt(param1.info.secureToken,PlayerState.ackey);
this._connection.call("secureTokenResponse",null,_loc2_);
so ackey is something like:
Code:
DgajÎ5Óhٻ×kL5
as it contains multiple special chars, this is definitly something we can't pass through cmd to rtmpdump or as *.strm to xbmc. Do you have an idea, how I could handle such a secure token?


cheerz,

lorus
Reply With Quote