Hi,
Having issue decrypting license data.
I'm able to receive the license data from the server (after providing correct headers and fresh authorization code) but the data cannot be decrypted.
the format I'm receiving is:
{
"licenseData": [
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxx="
],
"keyData": [
{
"keyID": "A99D7A68D53139CA3CBC693B1C52A810",
"startTime": "2024-01-18T00:00:00Z",
"endTime": "2025-01-17T00:00:00Z",
"eventId": "54"
}
],
"identityCookie": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ==",
"idCookieExpiration": "2024-05-12T19:41:39Z",
"domainID": "xxxxxxxxxxxx",
"deviceID": "xxxxxxxxxxxxx",
"householdRef": "xxxxxx",
"keysHorizon": "2024-02-13T03:41:39Z"
}
(hidden the personal data with xxxx)
I'm using my own CDM but when trying to decrypt the 'licenseData' value with:
wvdecrypt.update_license(license_b64)
I get: "Incorrect decryption."
when running l3.py (with some necassary modification) I get:
license response status: <Response [200]>
unable to parse license - check protobufs
Would appreciate any help.
Thanks.
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!
+ Reply to Thread
Results 1 to 9 of 9
-
-
did you replace the license challenge in the request with your own?
are you sure that youre extracting the licenseData value properly?
print out license_b64 and it should be CAIS.... -
I have seen that the license challange always remains the same in this video. the Authorization Token is being changed so I took a fresh one.
Last edited by ohadk84; 14th Feb 2024 at 06:30.
-
The license challenge is generated from your cdm so unless you have the private key for Chrome cdm you won't be able to decrypt the license response from the browsers license challenge. You need to generate the license challenge from your cdm and replace the one in the request data.
-
actually its a mobile app, not available on pc browser.
so how do I get my own license challenge? can you explain a bit? -
assuming that youre using wks-keys and the challenge in the request is in base64 format heres the line that you need to generate the challenge
Code:challenge_b64 = base64.b64encode(wvdecrypt.get_challenge()).decode('utf-8')
Check out the stickied threads - they have a lot of infoLast edited by ElCap; 13th Feb 2024 at 02:03.
-
you mean the cdm files from Frida? device_private_key and device_client_id_blob? I have them.
but how do I send it as a license challenge? l3.py should do it automatically?
btw, I took these keys from a different device than the one I copied the request details from if it matters. -
sorry i edited my response above as i re-read your original post where you have your cdm files
-
Similar Threads
-
need help with decryption
By swappyison in forum Video Streaming DownloadingReplies: 15Last Post: 8th Nov 2024, 09:45 -
need help with decryption
By swappyison in forum Video Streaming DownloadingReplies: 2Last Post: 27th Oct 2023, 12:17 -
need help with decryption
By swappyison in forum Video Streaming DownloadingReplies: 10Last Post: 25th Oct 2023, 09:35 -
need help with decryption
By swappyison in forum Video Streaming DownloadingReplies: 19Last Post: 15th Sep 2023, 03:01 -
Need help with l3.py decryption
By cheapdad in forum Video Streaming DownloadingReplies: 4Last Post: 3rd Sep 2023, 14:54