Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > get-flash-videos
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-15-2012, 03:40 PM
BlueCop BlueCop is offline
Member
 
Join Date: May 2011
Posts: 44
BlueCop is on a distinguished road
Default

Hulu Japan


I was working on support for Hulu Japan for the xbmc hulu plugin.

The api app and api secret for hulu desktop don't authenticate hulu japan users. I noticed you ported the hulu api authentication code so thought you might be able to help. It could be useful to add support for Japanese links to get-flash-videos.

I plan to use the android app and secret to authenticate Japanese users. I MITM the https connections to get the api app value.

b50795ef027112acc028192ad4bb890d31560da7

I was trying to reverse the secret value from the application classes. I found the relavent code but I am having trouble replicating the decryption of the app and secret values. They are stored AES encrypted and then are decrypted when needed.

Code:
AES_KEY hex = 684402241a605b496944fd8b4807c6d48523db006b441a688023db02134d2710

encApp hex = 10ebd4c0523a1b8569c40429c22f31047cc4c754609a834f0b98a0250d996b0c9e48580eb99447c8​b4c9bfdeefcfc274
      
decApp string = b50795ef027112acc028192ad4bb890d31560da7

encSecret hex = 63e2f07c57580d7b14ef3a7493eecc807061bd4af7b733284cd7f2f23b3958be
They do a bitwise AND of each byte with 0xFF before using the encrypted data and key. I wrote some code to try to decrypt the App properly as a test. I can't seem to get it to work right.

All I really need is the decrypted secret. I just have not been able to properly decrypt it. I could provide my test python decryption code or the relevant android classes I am referencing. Thanks for any response.
Reply With Quote
  #2  
Old 06-15-2012, 11:23 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Hulu Japan


you can post or PM the app and other relevant data. though it would be better if we can test app on our own. also Bitwise AND of each byte with 0xFF doesn't make sense because it will not change the byte anyway.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:26 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons