Add support for widevine-proxy.drm.technology #9

Open
opened 2025-05-26 00:52:01 +00:00 by helmboy · 2 comments

Could the follow code be added to CDRM-Project/custom_functions/decrypt/api_decrypt.py as base64 isn't use and an array of numeric values are?

in find_license_challenge

licensenumeric added to keywords

with this code added before data[key] = new_value

if key.lower() == 'licensenumeric':
new_value = base64.b64decode(new_value)
chall=''
for i in new_value: chall+=str(i)+','
new_value = chall[:-1]

Could the follow code be added to CDRM-Project/custom_functions/decrypt/api_decrypt.py as base64 isn't use and an array of numeric values are? in find_license_challenge licensenumeric added to keywords with this code added before data[key] = new_value if key.lower() == 'licensenumeric': new_value = base64.b64decode(new_value) chall='' for i in new_value: chall+=str(i)+',' new_value = chall[:-1]
Author

Correction:

license_request_data added to keywords

if key.lower() == 'license_request_data':
new_value = base64.b64decode(new_value)
chal=''
for i in new_value: chal+=str(i)+','
new_value= [ chal[:-1] ]

Correction: license_request_data added to keywords if key.lower() == 'license_request_data': new_value = base64.b64decode(new_value) chal='' for i in new_value: chal+=str(i)+',' new_value= [ chal[:-1] ]
Author

Sorry this would be better since it's not a json string:

chal=[]
for i in new_value: chal.append(i)
new_value= chal

Sorry this would be better since it's not a json string: chal=[] for i in new_value: chal.append(i) new_value= chal
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tpd94/CDRM-Project#9
No description provided.