Hi, I know the manual method for downloading an encrypted AES hls video by finding the key in decrypt function, its very complicated manual process, and also automating is super painful.
Was there any other script that i can use?
Hint:
My encrypted .m3u8 playlist look like this
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=0x496daa1c6914000e408c65cead91fc29
#EXTINF:2.016000,
hls_audio_000.ts
#EXTINF:1.984000,
hls_audio_001.ts
audio and video seperately.
+ Reply to Thread
Results 1 to 7 of 7
-
Discord : quantumqueenxox
Telegram: EighthJourney27 -
How about N_m3u8DL-RE? It's available on GitHub
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2 -
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*] -
Yes, you're right, I didn't read the post properly. My answer seems to be more directed at the title than the question. The 'download' part threw me off
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2 -
Now that I think more about it, you could attempt a somewhat "general" solution. It's gonna be a pain to maintain in the long run but it is possible. You could take most of the popular js libraries that deal with hls aes and inject some custom js code that only print in console/alert the final modified key that is used to decrypt. Then you're gonna copy and paste these modified js files according to site and you'll directly get the key. Most sites don't bother at all from stopping you to inject js code.
Obviously this won't work for all, but it's a good starting point.--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*] -
I was actually just researching if there are any ways to log javascript variable values on runtime. I'm sure you could somehow use a browser debugger to watch the runtime scope while the script is running
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2 -
If a key rotation mechanism is added as well, things complicate a lot. I remember once for a video, I managed to get the keys through code injection, but they were useless, unless I also downloaded the encrypted content for that "run". But I don't think @OP's case fits into this rare scenario.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
Similar Threads
-
howto-deal-with-HLS-128-bit-aes-encrypted-the-hard-one-2.0-version
By akshaysic in forum Video Streaming DownloadingReplies: 190Last Post: 15th Dec 2024, 07:38 -
My journey with AES-128 encrypted HLS
By dronem in forum Video Streaming DownloadingReplies: 16Last Post: 12th Apr 2024, 04:31 -
Need help to download HLS AES-128 encrypted video.
By johnyl0 in forum Video Streaming DownloadingReplies: 40Last Post: 7th Feb 2024, 14:51 -
howto deal with HLS 128 bit aes encrypted - the hard one
By code47 in forum Video Streaming DownloadingReplies: 63Last Post: 28th Dec 2023, 09:45 -
How do I download AES encrypted video streamed over HLS?
By Videogamer555 in forum Video Streaming DownloadingReplies: 1Last Post: 20th Jul 2022, 09:03