View Single Post
  #3  
Old 09-11-2014, 04:03 AM
MOZ MOZ is offline
Junior Member
 
Join Date: Aug 2014
Posts: 20
MOZ is on a distinguished road
Default

Re: How to Download AES Encrypted Stream


Quote:
Originally Posted by BlueCop View Post
normally i would say ffmpeg can do it.



this gets a 403 error on retrieving the key. there might be some auth or parameters or cookies you need to get the key.

this is the key url that returns 403
http://solr.zon.neulion.com/nlsk/hls...mobile_vod.key

you could monitor the requests and figure out what the need parameters are to get the key. Maybe then you could download it.
So I had a look through Web Developer > Network when I first load the video and this is what requests are made:



This points to a different key to the one in m3u8 playlist? The key it points to in the Network tools can be downloaded here without a 403.

Is that the correct key to be able to decrypt it? If I change the part at the top of the m3u8 to below:

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="http://nlds4.lon.neulion.com:443/nlds_vod/coliseum/vod/2014/08/30/420/2_420_manchesterunited_burnley_2014_h_whole_1_4500 .mp4/adaptive.key?clientKey=ffbd0f4faa2546d359cc074c228 c8e6b"
#EXTINF:10,

I get the following error from ffmpeg:

Quote:
[http @ 0x7f9f094536a0] HTTP error 403 Forbidden
Unable to open key file http://nlds4.lon.neulion.com:443/nld...074c228 c8e6b
[crypto @ 0x7f9f094536a0] Unable to open input
[hls,applehttp @ 0x7f9f09821800] Failed to open segment of playlist 0
[hls,applehttp @ 0x7f9f09821800] Error when loading first segment '2_420_manchesterunited_burnley_2014_h_whole_1_450 0_000000.ts'
2_420_manchesterunited_burnley_2014_h_whole_1_4500 .mp4.m3u8: No such file or directory
If I download the adaptive.key and open it up in TextEdit it shows me the following:



Thanks for your help so far BlueCop. Any more help from yourself or anybody else to crack this one will be greatly appreciated.
Reply With Quote