Hi guys i really need help decrypting this
Code:watch.jff.jpf.go.jp
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Closed Thread
Results 1,861 to 1,890 of 1969
-
from the browser playing the video
- grab the pssh from eme logger (if that doesnt work, you need to grab the pssh from the init file, but thats more involved)
- find the license server post request
- copy the license server full url
- copy the request header 'x-auth-token'
put these 3 things into getwvkeys.cc and you get your keys
send the url for the video so i can check the pssh
-
https://www.youtube.com/watch?v=Jfku0iyUre4
Is it possible to get the PSSH, license server URL and the request header from this Youtube URL?
-
and all this info for what? with yt-dlp you can download and (no tested) i think video isn't encrypted, then no need key ...
-
Ok I actually got that wrong, it seems like that was the case but its actually not.
Looking further into the custom headers they use, it's the x-sky-signature header, there is a base64 encoded signature in that header which when decoded is 20 bytes hex. This is generated using hmac with sha1.
-
It's hmac-sha1 hash, that is composed of a string containing the URL, server status response, hash of some headers, hash of the body among other things. An incorrect order of that data and composition of the string will result an invalid signature even if you have the correct key.
-
I have tried yt-dlp but since the video is DRM protected I get nothing except the qualities and the bit rates available.
Code:c:\yt-dlp>yt-dlp -F --allow-u https://www.youtube.com/watch?v=Jfku0iyUre4 [youtube] Jfku0iyUre4: Downloading webpage [youtube] Jfku0iyUre4: Downloading android player API JSON [youtube] Jfku0iyUre4: Downloading MPD manifest [info] Available formats for Jfku0iyUre4: ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR ASR MORE INFO --- --- ---------- --- - ---------- ----- ----- - ----------- ----- --------- ---- ------- -------------------- 148 m4a audio only | 40.22MiB 56k https | mp4a.40.5 56k 22050Hz DASH audio, m4a_dash 149 m4a audio only | 105.99MiB 137k https | mp4a.40.2 137k 44100Hz DASH audio, m4a_dash 150 m4a audio only | 208.56MiB 265k https | mp4a.40.2 265k 44100Hz DASH audio, m4a_dash 161 mp4 256x144 24 | 91.62MiB 135k https | avc1.4d400c 135k DASH video, mp4_dash 142 mp4 426x240 24 | 199.10MiB 271k https | avc1.4d4015 271k DASH video, mp4_dash 143 mp4 640x360 24 | 303.34MiB 638k https | avc1.4d401e 638k DASH video, mp4_dash 144 mp4 854x480 24 | 630.73MiB 1162k https | avc1.4d401e 1162k DASH video, mp4_dash 222 mp4 854x480 24 | 1.02GiB 1741k https | avc1.4d401e 1741k DASH video, mp4_dash 223 mp4 854x480 24 | 2.57GiB 3556k https | avc1.4d401e 3556k DASH video, mp4_dash 145 mp4 1280x720 24 | 1.22GiB 2353k https | avc1.4d401f 2353k DASH video, mp4_dash 224 mp4 1280x720 24 | 2.23GiB 3509k https | avc1.4d401f 3509k DASH video, mp4_dash 225 mp4 1280x720 24 | 4.26GiB 5838k https | avc1.4d401f 5838k DASH video, mp4_dash 146 mp4 1920x1080 24 | 2.54GiB 4421k https | avc1.640028 4421k DASH video, mp4_dash 226 mp4 1920x1080 24 | 4.46GiB 5818k https | avc1.640028 5818k DASH video, mp4_dash 227 mp4 1920x1080 24 | 6.23GiB 8124k https | avc1.640028 8124k DASH video, mp4_dash
c:\yt-dlp>yt-dlp -f --allow-u https://www.youtube.com/watch?v=Jfku0iyUre4
[youtube] Jfku0iyUre4: Downloading webpage
[youtube] Jfku0iyUre4: Downloading android player API JSON
[youtube] Jfku0iyUre4: Downloading MPD manifest
ERROR: This video is DRM protected.c:\yt-dlp>yt-dlp -f bestaudio+bestvideo https://www.youtube.com/watch?v=Jfku0iyUre4
[youtube] Jfku0iyUre4: Downloading webpage
[youtube] Jfku0iyUre4: Downloading android player API JSON
[youtube] Jfku0iyUre4: Downloading MPD manifest
ERROR: This video is DRM protected.Last edited by rifleman1202; 17th Feb 2022 at 13:31.
-
I made some progress. I was able to download the best video and the best audio using this command posted by notaghost in another thread on this forum. However, they are unplayable because of encryption I guess. I guess I will need to find the key and decrypt using mp4decrypt. Therefore, I will need a way to get the key and I am assuming it's through the PSSH, license URL and the headers method that people are talking about. Trying to figure out by going through this forum to get the PSSH, license URL and headers. As suggested by [ss]vegeta I am trying the TamperMonkey and EME logger way but not sure what to look for in the console. Any assistance from more advanced members would be appreciated.
c:\yt-dlp>yt-dlp --external-downloader aria2c --allow-unplayable-formats https://www.youtube.com/watch?v=Jfku0iyUre4
WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging.
If you experience any issues while using this option, DO NOT open a bug report
[youtube] Jfku0iyUre4: Downloading webpage
[youtube] Jfku0iyUre4: Downloading android player API JSON
[youtube] Jfku0iyUre4: Downloading MPD manifest
[info] Jfku0iyUre4: Downloading 1 format(s): 227+150
WARNING: You have requested merging of multiple formats while also allowing unplayable formats to be downloaded. The formats won't be merged to prevent data corruption.
[download] Destination: Planet of the Apes '68 [Jfku0iyUre4].f227.mp4
[download] 100% of 6.23GiB in 02:58
[download] Destination: Planet of the Apes '68 [Jfku0iyUre4].f150.m4a
[download] 100% of 208.56MiB in 00:06
Update: Made some more progress. I found this EME Call and Event Logger plugin slightly better than the EME Logger script using TamperMonkey.
https://chrome.google.com/webstore/detail/eme-call-and-event-logger/cniohcjecdcdhgmlof...lated?hl=en-US
I found the PSSH but it's in a different format, an Uint8Array. I think I will have to convert it to a string format? Am I correct?
Code:initDataType: "cenc", initData: Uint8Array instance [ 0x00, 0x00, 0x00, 0x40, 0x70, 0x73, 0x73, 0x68, 0x00, 0x00, 0x00, 0x00, 0xed, 0xef, 0x8b, 0xa9, 0x79, 0xd6, 0x4a, 0xce, 0xa3, 0xc8, 0x27, 0xdc, 0xd5, 0x1d, 0x21, 0xed, 0x00, 0x00, 0x00, 0x20, 0x22, 0x18, 0x59, 0x4f, 0x55, 0x54, 0x55, 0x42, 0x45, 0x3a, 0x32, 0x35, 0x66, 0x39, 0x32, 0x65, 0x64, 0x32, 0x32, 0x63, 0x39, 0x34, 0x61, 0x64, 0x65, 0x65, 0x48, 0xe3, 0xdc, 0x95, 0x9b, 0x06, 0x00, 0x00, 0x02, 0xf4, 0x70, 0x73, 0x73, 0x68, 0x00, 0x00, 0x00, 0x00, 0x9a, 0x04, 0xf0, 0x79, 0x98, 0x40, 0x42, 0x86, 0xab, 0x92, 0xe6, 0x5b, 0xe0, 0x88, 0x5f, 0x95, 0x00, 0x00, 0x02, 0xd4, 0xd4, 0x02, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0xca, 0x02, 0x3c, 0x00, 0x57, 0x00, 0x52, 0x00, 0x4d, 0x00, 0x48, 0x00, 0x45, 0x00, 0x41, 0x00, 0x44, 0x00, 0x45, 0x00, 0x52, 0x00, 0x20, 0x00, 0x78, 0x00, 0x6d, 0x00, 0x6c, 0x00, 0x6e, 0x00, 0x73, 0x00, 0x3d, 0x00, 0x22, 0x00, 0x68, 0x00, 0x74, 0x00, 0x74, 0x00, 0x70, 0x00, 0x3a, 0x00, 0x2f, 0x00, 0x2f, 0x00, 0x73, 0x00, 0x63, 0x00, 0x68, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x61, 0x00, 0x73, 0x00, 0x2e, 0x00, 0x6d, 0x00, 0x69, 0x00, 0x63, 0x00, 0x72, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x6f, 0x00, 0x66, 0x00, 0x74, 0x00, 0x2e, 0x00, 0x63, 0x00, 0x6f, 0x00, 0x6d, 0x00, 0x2f, 0x00, 0x44, 0x00, 0x52, 0x00, 0x4d, 0x00, 0x2f, 0x00, 0x32, 0x00, 0x30, 0x00, 0x30, 0x00, 0x37, 0x00, 0x2f, 0x00, 0x30, 0x00, 0x33, 0x00, 0x2f, 0x00, 0x50, 0x00, 0x6c, 0x00, 0x61, 0x00, 0x79, 0x00, 0x52, 0x00, 0x65, 0x00, 0x61, 0x00, 0x64, 0x00, 0x79, 0x00, 0x48, 0x00, 0x65, 0x00, 0x61, 0x00, 0x64, 0x00, 0x65, 0x00, 0x72, 0x00, 0x22, 0x00, 0x20, 0x00, 0x76, 0x00, 0x65, 0x00, 0x72, 0x00, 0x73, 0x00, 0x69, 0x00, 0x6f, 0x00, 0x6e, 0x00, 0x3d, 0x00, 0x22, 0x00, 0x34, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x44, 0x00, 0x41, 0x00, 0x54, 0x00, 0x41, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x50, 0x00, 0x52, 0x00, 0x4f, 0x00, 0x54, 0x00, 0x45, 0x00, 0x43, 0x00, 0x54, 0x00, 0x49, 0x00, 0x4e, 0x00, 0x46, 0x00, 0x4f, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x4b, 0x00, 0x45, 0x00, 0x59, 0x00, 0x4c, 0x00, 0x45, 0x00, 0x4e, 0x00, 0x3e, 0x00, 0x31, 0x00, 0x36, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x4b, 0x00, 0x45, 0x00, 0x59, 0x00, 0x4c, 0x00, 0x45, 0x00, 0x4e, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x41, 0x00, 0x4c, 0x00, 0x47, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x41, 0x00, 0x45, 0x00, 0x53, 0x00, 0x43, 0x00, 0x54, 0x00, 0x52, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x41, 0x00, 0x4c, 0x00, 0x47, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x50, 0x00, 0x52, 0x00, 0x4f, 0x00, 0x54, 0x00, 0x45, 0x00, 0x43, 0x00, 0x54, 0x00, 0x49, 0x00, 0x4e, 0x00, 0x46, 0x00, 0x4f, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x4b, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x4d, 0x00, 0x49, 0x00, 0x36, 0x00, 0x44, 0x00, 0x4a, 0x00, 0x44, 0x00, 0x55, 0x00, 0x35, 0x00, 0x43, 0x00, 0x31, 0x00, 0x4f, 0x00, 0x4e, 0x00, 0x6d, 0x00, 0x49, 0x00, 0x71, 0x00, 0x50, 0x00, 0x62, 0x00, 0x64, 0x00, 0x62, 0x00, 0x34, 0x00, 0x43, 0x00, 0x67, 0x00, 0x3d, 0x00, 0x3d, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x4b, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x43, 0x00, 0x48, 0x00, 0x45, 0x00, 0x43, 0x00, 0x4b, 0x00, 0x53, 0x00, 0x55, 0x00, 0x4d, 0x00, 0x3e, 0x00, 0x69, 0x00, 0x54, 0x00, 0x6f, 0x00, 0x36, 0x00, 0x6d, 0x00, 0x70, 0x00, 0x78, 0x00, 0x63, 0x00, 0x49, 0x00, 0x77, 0x00, 0x30, 0x00, 0x3d, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x43, 0x00, 0x48, 0x00, 0x45, 0x00, 0x43, 0x00, 0x4b, 0x00, 0x53, 0x00, 0x55, 0x00, 0x4d, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x4c, 0x00, 0x41, 0x00, 0x5f, 0x00, 0x55, 0x00, 0x52, 0x00, 0x4c, 0x00, 0x3e, 0x00, 0x68, 0x00, 0x74, 0x00, 0x74, 0x00, 0x70, 0x00, 0x73, 0x00, 0x3a, 0x00, 0x2f, 0x00, 0x2f, 0x00, 0x77, 0x00, 0x77, 0x00, 0x77, 0x00, 0x2e, 0x00, 0x79, 0x00, 0x6f, 0x00, 0x75, 0x00, 0x74, 0x00, 0x75, 0x00, 0x62, 0x00, 0x65, 0x00, 0x2e, 0x00, 0x63, 0x00, 0x6f, 0x00, 0x6d, 0x00, 0x2f, 0x00, 0x61, 0x00, 0x70, 0x00, 0x69, 0x00, 0x2f, 0x00, 0x64, 0x00, 0x72, 0x00, 0x6d, 0x00, 0x2f, 0x00, 0x70, 0x00, 0x6c, 0x00, 0x61, 0x00, 0x79, 0x00, 0x72, 0x00, 0x65, 0x00, 0x61, 0x00, 0x64, 0x00, 0x79, 0x00, 0x3f, 0x00, 0x73, 0x00, 0x6f, 0x00, 0x75, 0x00, 0x72, 0x00, 0x63, 0x00, 0x65, 0x00, 0x3d, 0x00, 0x59, 0x00, 0x4f, 0x00, 0x55, 0x00, 0x54, 0x00, 0x55, 0x00, 0x42, 0x00, 0x45, 0x00, 0x26, 0x00, 0x61, 0x00, 0x6d, 0x00, 0x70, 0x00, 0x3b, 0x00, 0x76, 0x00, 0x69, 0x00, 0x64, 0x00, 0x65, 0x00, 0x6f, 0x00, 0x5f, 0x00, 0x69, 0x00, 0x64, 0x00, 0x3d, 0x00, 0x32, 0x00, 0x35, 0x00, 0x66, 0x00, 0x39, 0x00, 0x32, 0x00, 0x65, 0x00, 0x64, 0x00, 0x32, 0x00, 0x32, 0x00, 0x63, 0x00, 0x39, 0x00, 0x34, 0x00, 0x61, 0x00, 0x64, 0x00, 0x65, 0x00, 0x65, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x4c, 0x00, 0x41, 0x00, 0x5f, 0x00, 0x55, 0x00, 0x52, 0x00, 0x4c, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x44, 0x00, 0x41, 0x00, 0x54, 0x00, 0x41, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0x57, 0x00, 0x52, 0x00, 0x4d, 0x00, 0x48, 0x00, 0x45, 0x00, 0x41, 0x00, 0x44, 0x00, 0x45, 0x00, 0x52, 0x00, 0x3e, 0x00, ], }
Last edited by rifleman1202; 17th Feb 2022 at 22:06.
-
The information is all contained within the obfuscated JavaScript code, its not too difficult to pull it out. I rewrote wks-keys to generate the correct header.
[Attachment 63445 - Click to enlarge]
-
Thanks a bunch, but I want to be able to repeat this process. Could you help me understand how you found the PSSH? I think I know how to get the license URL now that you posted it. The only other remaining portion is the headers. I have been reading posts here and it seems they are the Request Headers of the license URL? I got this from the console for the license URL for the Request Headers but when I try to get a key using the combo - PSSH, the license URL and the headers below I get an error on the keys site.
Code:ERROR Wrong headers: while parsing a block mapping in "<unicode string>", line 1, column 1: sec-ch-ua: " Not A;Brand";v="99" ... ^ expected <block end>, but found '<scalar>' in "<unicode string>", line 1, column 26: sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="98", "Goo ... ^
Code:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98" sec-ch-ua-arch: "x86" sec-ch-ua-bitness: "64" sec-ch-ua-full-version: "98.0.4758.102" sec-ch-ua-full-version-list: " Not A;Brand";v="99.0.0.0", "Chromium";v="98.0.4758.102", "Google Chrome";v="98.0.4758.102" sec-ch-ua-mobile: ?0 sec-ch-ua-model: "" sec-ch-ua-platform: "Windows" sec-ch-ua-platform-version: "10.0.0" Service-Worker-Navigation-Preload: true Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
-
hello greetings to all, this mpd contains video and two audios aac and qaa, the latter is encrypted.
the mpd does not show pssh, with the init file I got this kid default_KID = [8c a9 4b 05 76 88 6d e9 fb e3 ff e0 61 c1 3a 89]
then this pssh AAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABjxxr3hvTn vrzzp1719t7d997TrVzXdrz0=
but i always get this error ERROR
Wrong headers: mapping values are not allowed here in "<unicode string>", line 4, column 17: 'Connection': 'keep-alive', ^
I appreciate any help
https://www.rtve.es/play/videos/cine-de-siempre/belle-epoque/6374929/
https://ztnr.rtve.es/ztnr/6374929.mpd?web=true
you may need vpn for spain
-
@gufoli
You're going to have to trim the pssh, someone on this forum explained it.
PSSH:
Code:AAADvHBzc2gBAAAAmgTweZhAQoarkuZb4IhflQAAAAGMqUsFdoht6fvj/+BhwTq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AQgAyAHYANwBuADgAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgAAAABDcHNzaAEAAADt74upedZKzqPIJ9zVHSHtAAAAAYypSwV2iG3p++P/4GHBOokAAAAPIgc2Mzc0OTI5SOPclZsG
-
-
He did share it in great detail+screenshot of sequence.
As you can see also it's not just a wks keys script and he explained that and the details e.g. hmac keys so read and learn and understand those if you want to know it.
If you don't understand it I suggest you start smaller and learn how encryption is done on simpler sites first and work your way up.
There's somewhat functional tools on private sites, telegrams but nothing will be shared on public forum like this.
Most people i know who have solution replaced this.
shorturl.at/knuCG
Mfw I first opened it
Similar Threads
-
Strip Playready and Widevine DRM
By freaknik in forum Video Streaming DownloadingReplies: 5Last Post: 22nd Jun 2024, 15:20 -
Decoding manifest.mpd (Widevine)
By WaitForIt in forum Video Streaming DownloadingReplies: 6Last Post: 7th Jun 2021, 13:44 -
getting widevine CEK key
By netbreak in forum Video Streaming DownloadingReplies: 1Last Post: 19th Feb 2018, 12:03 -
Looking for anyone with Google Widevine knowledge.
By cookeri6 in forum Newbie / General discussionsReplies: 1Last Post: 15th May 2017, 13:33 -
Looking for anyone with Google Widevine knowledge.
By cookeri6 in forum Video Streaming DownloadingReplies: 0Last Post: 15th May 2017, 12:45