medvm / widevine_keys

This repo created for bypassing Widevine L3 DRM and obtaining keys.
464 stars 186 forks source link

unable to parse license - check protobufs #38

Open NonameASecret opened 2 years ago

NonameASecret commented 2 years ago

windwine error MDP_URL = "https://contents.pallycon.com/bunny/stream.mpd" lic_url = " https://license.pallycon.com/ri/licenseManager.do" Drm Video Link = "https://sample.pallycon.com/dev/demoPlayer.do?lang=en&player=theo"

How to fix this issue?

NonameASecret commented 2 years ago

@medvm I Send massage to your telegram acount about it. you are not seen my massage. can you kindly check your telegram acount inbox,

pythonkenyard commented 2 years ago

I assume u installed dependencies?
pip install -r requirements.txt

medvm commented 2 years ago

@medvm I Send massage to your telegram acount about it. you are not seen my massage. can you kindly check your telegram acount inbox,

I have a lot of work right now, I will answer everyone a bit later. Btw, I really liked your massage, but I cannot help you with it, as I am not a massage specialist. Everything works for me with your site. Obviously you inserted incorrect headers.

NonameASecret commented 2 years ago

@medvm I Send massage to your telegram acount about it. you are not seen my massage. can you kindly check your telegram acount inbox,

I have a lot of work right now, I will answer everyone a bit later. Btw, I really liked your massage, but I cannot help you with it, as I am not a massage specialist. Everything works for me with your site. Obviously you inserted incorrect headers.

thank you dear your response. your free time reply me later. i'm Waiting for a my telegram message response.

NonameASecret commented 2 years ago

I assume u installed dependencies?

yes of coURSE. i already install dependencies.

my re

my requirements already satisfied.

NonameASecret commented 2 years ago

i insert to headers this method use.

can you kindly give you try to this keys capture headers.py file for example.

codehound22 commented 2 years ago

you can learn and adapt everything is already on GitHub

NonameASecret commented 2 years ago

i insert to headers this method use.

can you kindly give you try to this keys capture headers.py file for example.

@medvm

NonameASecret commented 2 years ago

you can learn and adapt everything is already on GitHub

i search google & github below link case. but i can't understand it.because i'm beginer in this subject.

https://github.com/medvm/widevine_keys/issues/38#issuecomment-999257405

then i ask from @medvm header.py file. he give it i can learn it.

@codehound22 can you help me?

anonyymous2021 commented 2 years ago

I get this

PSSH obtained. AAAAPHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABwIARIQ8XnawaPOSTuw4YRfGaUJuCIGNTg4NDE1 Traceback (most recent call last): File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 130, in correct, keys = WV_Function(pssh, lic_url) File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 52, in WV_Function data=f'token={headers.token}&provider={headers.provider}&payload={str(request, "utf-8" )}' AttributeError: module 'headers' has no attribute 'token'

NonameASecret commented 2 years ago

I get this

PSSH obtained. AAAAPHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABwIARIQ8XnawaPOSTuw4YRfGaUJuCIGNTg4NDE1 Traceback (most recent call last): File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 130, in correct, keys = WV_Function(pssh, lic_url) File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 52, in WV_Function data=f'token={headers.token}&provider={headers.provider}&payload={str(request, "utf-8" )}' AttributeError: module 'headers' has no attribute 'token'

@medvm can you give you try kid key this chance to insert this headers.py file.

NonameASecret commented 2 years ago

I get this PSSH obtained. AAAAPHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABwIARIQ8XnawaPOSTuw4YRfGaUJuCIGNTg4NDE1 Traceback (most recent call last): File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 130, in correct, keys = WV_Function(pssh, lic_url) File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 52, in WV_Function data=f'token={headers.token}&provider={headers.provider}&payload={str(request, "utf-8" )}' AttributeError: module 'headers' has no attribute 'token'

@medvm can you give you try kid key this chance to insert this headers.py file.

@codehound22

misternobody007 commented 2 years ago

windwine error MDP_URL = "https://contents.pallycon.com/bunny/stream.mpd" lic_url = " https://license.pallycon.com/ri/licenseManager.do" Drm Video Link = "https://sample.pallycon.com/dev/demoPlayer.do?lang=en&player=theo"

How to fix this issue?

I got this error

image

NonameASecret commented 2 years ago

@medvm I Send massage to your telegram acount about it. you are not seen my massage. can you kindly check your telegram acount inbox,

I have a lot of work right now, I will answer everyone a bit later. Btw, I really liked your massage, but I cannot help you with it, as I am not a massage specialist. Everything works for me with your site. Obviously you inserted incorrect headers.

MY HEADERS>PY file Screenshot Below

full

After Run Script Give Below Error

PS F:\windwine\widevine_keys\widevinekeys> py l3.py

widevine_license: b'{"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<response result=\"7107\" message=\"The License challenge is invalid.\" />\r\n","errorCode":7107,"message":"The License challenge is invalid."}' DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): contents.pallycon.com:443 DEBUG:urllib3.connectionpool:https://contents.pallycon.com:443 "GET /bunny/stream.mpd HTTP/1.1" 200 5305

PSSH obtained. AAAAVHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADQIARIQT+sQ7D47tr4kenQNWK5ISRoMaW5rYWVudHdvcmtzIgxiaWdidWNrYnVubnkqAkhE DEBUG:cdm.cdm:open_session(init_data_b64=AAAAVHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADQIARIQT+sQ7D47tr4kenQNWK5ISRoMaW5rYWVudHdvcmtzIgxiaWdidWNrYnVubnkqAkhE, device=DeviceConfig(name=android_generic, description=android studio cdm, security_level=3, session_id_type=android, private_key_available=True, vmp=False) INFO:cdm.cdm:opening new cdm session DEBUG:cdm.cdm:trying to parse init_data directly DEBUG:cdm.cdm:init_data: DEBUG:cdm.cdm:algorithm: AESCTR DEBUG:cdm.cdm:key_id: "O\353\020\354>;\266\276$zt\rX\256HI" DEBUG:cdm.cdm:provider: "inkaentworks" DEBUG:cdm.cdm:content_id: "bigbuckbunny" DEBUG:cdm.cdm:track_type_deprecated: "HD" INFO:cdm.cdm:session opened and init data parsed successfully DEBUG:cdm.cdm:get_license_request(session_id=b'F55DB5F9D5ADDBEA0100000000000000') INFO:cdm.cdm:getting license request DEBUG:cdm.cdm:building license request DEBUG:cdm.cdm:signing license request DEBUG:cdm.cdm:license request: DEBUG:cdm.cdm:Type: LICENSE_REQUEST DEBUG:cdm.cdm:Msg { DEBUG:cdm.cdm: ClientId { DEBUG:cdm.cdm: Type: DEVICE_CERTIFICATE DEBUG:cdm.cdm: Token { DEBUG:cdm.cdm: _DeviceCertificate { DEBUG:cdm.cdm: Type: USERDEVICE DEBUG:cdm.cdm: SerialNumber: "\367\225=\345\262\202\022\343N\242AT\360\352cl" DEBUG:cdm.cdm: CreationTimeSeconds: 1588279017 DEBUG:cdm.cdm: PublicKey: "0\202\001\n\002\202\001\001\000\342\305\n\016\233\314\033\370\235\027\312\002\037\220\025K\001]\344\311>\254L\016\006\302\3311\207e\211u\236\326\031\375\231\321:\273\332c\262\277\233.\266c\224\254L\026\243\317\305\262\024p-H\213\260EJ7\266\025\337$\306v\210\246\264\026\3043\340+\343RK\036\357R~9\331\201\324\277e\307\177Y\006\335\017\225\027\360\216@\250u\177\210\367/\250\006\006\273\334\324a\356\023\333\264\274\327{\372\377\271\261AhK\276i\031\003d\034\030\241\340\037Th\024\273\262\024\323#~\241\234>\213\006\305\307\203\266\363\362\262`q\007\335\307\223g\257\232^\215\326\006\203\253q\317\235t\203\345\305<1o\354d\262\324\253\226\252+|\334\312\263>[=\250\004\014\223\005\034\323\230 \2148F\010\245\270\376\237{~}\267X1D\335<\322J\304/\310\222\312\003{=\240\226\355$ \377\200\341\330\250;\347Z\1773?\002\003\001\000\001" DEBUG:cdm.cdm: SystemId: 4464 DEBUG:cdm.cdm: } DEBUG:cdm.cdm: Signature: "\265E\207\r$H\002\002\260p\230\342\030u\200\356\341\302r\010\274\264\215\242\032\241\267\3121\223\332\001\016\317\013}\347\030\177\ns\2232=j\r&\360g\000{K\361\352&\013\347s\312bl\241?\372$\002\244\022\260\320O\202\0130}v\177\000<E\222ZsS^\006K\311S\030\r\222\301\271\3003Z\237\d\264\335\0004\356Wv\370v\014\n\021\327\335\2733aX\201\024e\336m\r\217\257\347\266(\364\233\270g\210S\332BG4\361\0273\376gF\034(\302\377yP\235R\027\'|\327\210|\311\341\276\316\244\342\024\007\335S^\3329\tu\356\214mQ\r\234M\r0\245\231H\263&=\222\351\313\237\033&)@X\361\360\261\021W\016Ihu~R\270\300,hp\352\231\307\23295\226\273\370,0\202\334$\261\301\230\210GV_\203\375\214\t|$\333\211\273\344s.\024\305f\035\006Y\362\"" DEBUG:cdm.cdm: Signer { DEBUG:cdm.cdm: _DeviceCertificate { DEBUG:cdm.cdm: Type: INTERMEDIATE DEBUG:cdm.cdm: SerialNumber: "i\343\350\230\273,?\270\243\263(\035\204\370\214\024" DEBUG:cdm.cdm: CreationTimeSeconds: 1378855566 DEBUG:cdm.cdm: PublicKey: "0\202\001\n\002\202\001\001\000\330\366\351\265\211\360Q \351\244>\320\331N\241\376\t\225\001m\275\036+@\247\334\321\305\177\303\005P<\317\023?\236\230\257\316N\346\377\204\334B$&\250\377\372O\344\277-D\325\017\024:\353\274 L\243\264g\372%\033\372?\333%\342\'\250\257\251\303}\n\357b\346\243\224\327((\237\324\226e\033.\214QA\362|U\255\3469/7\252\323o7\316}B\203[-q~-8t\373\272\323\363\024o\321x1P\267C\277\030\271sW\000tw[\'\335\"\214;\205\313\216\026]\235\312\355\027\330\345\216\230;\3063\010\226u\211R\254C\243\264\320\221<\255&e%\322G\014\355\271\335\004\267\253\001\322E\031\245\334\352\204\230\341\343r\374\201\203\226\342\302A\035\312dD,\313\371\213y]\201\01680Z\373\\343>\255\337\270\377}x\253\367^A\270\307\2525\205\271Z\374\210\206\212n\257\221\353t\241\002\003\001\000\001" DEBUG:cdm.cdm: SystemId: 4464 DEBUG:cdm.cdm: } DEBUG:cdm.cdm: Signature: "\"\213c0\353?\220\263V\357\277\021\222\266\'\275\266\227 \240\355\256\002\336Y\276\375\002\r{\353\026\\'I\272>\251\036\365F\355\210\225\225\225I\263y]\204\210\017\0070\0071\343c\312\315\257w\340\261{R&\334\270\333\227c5\013E\347\342v\216\260!\177t6\233\261\010\345\252!djC\330M\034\257\347U\217\332<\307K\211GcVG\301U\241T\022]\232Zws?\341\014\301,\333h\376\334\376P\254\231\301\256\322s\367\223A\315\276e\300\322\335\221\016\336Q\221\260\177:\340\247\377pA\257%\020A\251\312I\\247\306\370\213j\021m@\000\372m\216\350 \316fD\315\032\271\3051\237\352\212\376mz\312\214AK\321\265H\354\257\010\321u\223\234\372\224o\n\261xC\022\372\0001\314\242\351q\275B\"\207#\330\344\312b\231\325\337Q\321\020\344p6\022\243b5SH;\212\217\323N\343[\235r\001\344\341:\274\270\'m\261\263\304]\220\200\2458\032\270\262%\322R\300\341\371L\315o\225}\ty\305\214O\320Nm\272\031\364\207\3578\340;%S\306E\355M]Sd)\254\200)}\365\303\367\010\000\000)6\351\030 \313\307\275\353?\"\363\257\376a\214\231BG=\204\207B\000Dk\200F\002\021\260r\314\343ku\020\354\324\312\322\375\310u\232\205y\244\233\372\334\022\n\275\001\306\274\271" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "company_name" DEBUG:cdm.cdm: Value: "Google" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "model_name" DEBUG:cdm.cdm: Value: "Android SDK built for x86" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "architecture_name" DEBUG:cdm.cdm: Value: "x86" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "device_name" DEBUG:cdm.cdm: Value: "generic_x86" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "product_name" DEBUG:cdm.cdm: Value: "sdk_google_phone_x86" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "build_info" DEBUG:cdm.cdm: Value: "google/sdk_google_phone_x86/generic_x86:7.1.1/NYC/5464897:userdebug/test-keys" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "device_id" DEBUG:cdm.cdm: Value: "zdfDCPHaHrBQakqKhEcFqXiLwbblJwg\000" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "widevine_cdm_version" DEBUG:cdm.cdm: Value: "v4.1.0-android" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ClientInfo { DEBUG:cdm.cdm: Name: "oem_crypto_security_patch_level" DEBUG:cdm.cdm: Value: "0" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: _ClientCapabilities { DEBUG:cdm.cdm: SessionToken: 1 DEBUG:cdm.cdm: MaxHdcpVersion: HDCP_NONE DEBUG:cdm.cdm: OemCryptoApiVersion: 11 DEBUG:cdm.cdm: } DEBUG:cdm.cdm: } DEBUG:cdm.cdm: ContentId { DEBUG:cdm.cdm: CencId { DEBUG:cdm.cdm: Pssh { DEBUG:cdm.cdm: algorithm: AESCTR DEBUG:cdm.cdm: key_id: "O\353\020\354>;\266\276$zt\rX\256HI" DEBUG:cdm.cdm: provider: "inkaentworks" DEBUG:cdm.cdm: content_id: "bigbuckbunny" DEBUG:cdm.cdm: track_typedeprecated: "HD" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: LicenseType: DEFAULT DEBUG:cdm.cdm: RequestId: "F55DB5F9D5ADDBEA0100000000000000" DEBUG:cdm.cdm: } DEBUG:cdm.cdm: } DEBUG:cdm.cdm: Type: NEW DEBUG:cdm.cdm: RequestTime: 1640494638 DEBUG:cdm.cdm: ProtocolVersion: CURRENT DEBUG:cdm.cdm: KeyControlNonce: 89457107 DEBUG:cdm.cdm:} DEBUG:cdm.cdm:Signature: "\031\347\200\373\365\206\036Mp\360Eo\374t\370\320\302}\347\036\330\316k(\302g\374y\030\001\346\366\344k\335cf\366\265J\242T\362h\277\010\301\360<\365[\373\325\307\235\022\355\316\202\214\253C\273\315\234\306\335\305|<t\374\360\263\355\'s\357zAek\006\020\200\363\322!3\231\355\317\325\213\177\343\231\233B\016G\nT\n\331\013\n\246\026\315\224\344\336\321\315X`z\316\361\310\352\320\205\211E \230\256\341\204\020\252\200v\303\272\014O\032\325\356\367\204\347K\311\2368\300 =\321\274CNVWof\306G\343\016D)\335\245\032\226\035xm\3746W\246\345\371K\036\013\010\002B6]\247\324\214^\340F%\205\242\'\236A\330\010\351\300\337\201b\003sY\275O\244-\305z\316H\311\212\265\336A\'\016\023|\263\213\026\004\221u\255{\010B\375\315\375\253a@w\337z5\006\334\271\227i\206~\221\310" INFO:cdm.cdm:license request created DEBUG:cdm.cdm:license request b64: b'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' DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): license.pallycon.com:443 DEBUG:urllib3.connectionpool:https://license.pallycon.com:443 "POST /ri/licenseManager.do HTTP/1.1" 200 314 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): license.pallycon.com:443 DEBUG:urllib3.connectionpool:https://license.pallycon.com:443 "POST /ri/licenseManager.do HTTP/1.1" 200 198 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): license.pallycon.com:443 DEBUG:urllib3.connectionpool:https://license.pallycon.com:443 "POST /ri/licenseManager.do HTTP/1.1" 200 198 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): license.pallycon.com:443 DEBUG:urllib3.connectionpool:https://license.pallycon.com:443 "POST /ri/licenseManager.do HTTP/1.1" 200 716 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): license.pallycon.com:443 DEBUG:urllib3.connectionpool:https://license.pallycon.com:443 "POST /ri/licenseManager.do HTTP/1.1" 200 198 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): license.pallycon.com:443 DEBUG:urllib3.connectionpool:https://license.pallycon.com:443 "POST /ri/licenseManager.do HTTP/1.1" 200 198

license response status: <Response [200]>

DEBUG:cdm.cdm:provide_license(session_id=b'F55DB5F9D5ADDBEA0100000000000000', license_b64=b'CAUSxwUKwQIIAxIQFwW5F8wSBIaLBjM6L3cqjBiCtIKSBSKOAjCCAQoCggEBAJntWzsyfateJO/DtiqVtZhSCtW8yzdQPgZFuBTYdrjfQFEEQa2M462xG7iMTnJaXkqeB5UpHVhYQCOn4a8OOKkSeTkwCGELbxWMh4x+Ib/7/up34QGeHleB6KRfRiY9FOYOgFioYHrc4E+shFexN6jWfM3rM3BdmDoh+07svUoQykdJDKR+ql1DghjduvHK3jOS8T1v+2RC/THhv0CwxgTRxLpMlSCkv5fuvWCSmvzu9Vu69WTi0Ods18Vcc6CCuZYSC4NZ7c4kcHCCaA1vZ8bYLErF8xNEkKdO7DevSy8BDFnoKEPiWC8La59dsPxebt9k+9MItHEbzxJQAZyfWgkCAwEAAToUbGljZW5zZS53aWRldmluZS5jb20SgAOuNHMUtag1KX8nE4j7e7jLUnfSSYI83dHaMLkzOVEes8y96gS5RLknwSE0bv296snUE5F+bsF2oQQ4RgpQO8GVK5uk5M4PxL/CCpgIqq9L/NGcHc/N9XTMrCjRtBBBbPneiAQwHL2zNMr80NQJeEI6ZC5UYT3wr8+WykqSSdhV5Cs6cD7xdn9qm9Nta/gr52u/DLpP3lnSq8x2/rZCR7hcQx+8pSJmthn8NpeVQ/ypy727+voOGlXnVaPHvOZV+WRvWCq5z3CqCLl5+Gf2Ogsrf9s2LFvE7NVV2FvKqcWTw4PIV9Sdqrd+QLeFHd/SSZiAjjWyWOddeOrAyhb3BHMEwg2T7eTo/xxvF+YkPj89qPwXCYcOxF+6gjomPwzvofcJOxkJkoMmMzcFBDopvab5tDQsyN9UPLGhGC98X/8z8QSQ+spbJTYLdgFenFoGq47gLwDS6NWYYQSqzE3Udf2W7pzk4ybyG4PHBYV3s4cyzdq8amvtE/sNSdOKReuHpfQ=') INFO:cdm.cdm:decrypting provided license ERROR:cdm.cdm:unable to parse license - check protobufs PS F:\windwine\widevine_keys\widevine_keys>

NonameASecret commented 2 years ago

windwine error MDP_URL = "https://contents.pallycon.com/bunny/stream.mpd" lic_url = " https://license.pallycon.com/ri/licenseManager.do" Drm Video Link = "https://sample.pallycon.com/dev/demoPlayer.do?lang=en&player=theo" How to fix this issue?

I got this error

image

Check Your Headers.py File like This

NonameASecret commented 2 years ago

i copy headers this method

my headers.py file is here

NonameASecret commented 2 years ago

i copy headers this method

my headers.py file is here

@misternobody007

misternobody007 commented 2 years ago

Which one did you copy as curl ? I copied the 3rd one

image

NonameASecret commented 2 years ago

Which one did you copy as curl ? I copied the 3rd one

image

yes. i copied 3rd one. because second one not have pallycon-key header value

NonameASecret commented 2 years ago

Which one did you copy as curl ? I copied the 3rd one

image

NonameASecret commented 2 years ago

you are got drm key for this video?

@misternobody007

NonameASecret commented 2 years ago

Yeah. but your one is differeent from me And also request payload contains unknown letters Someone told me it is wrong

can you give your headers.py file for you are trying to got drm key for this video

after i can different of my headers.py file & your headers.py file

misternobody007 commented 2 years ago

Yes. Same video But my one doesn't contains this part

image

NonameASecret commented 2 years ago

Yes. Same video But my one doesn't contains this part

image

it's part get's from this source

NonameASecret commented 2 years ago

Read This

@misternobody007

misternobody007 commented 2 years ago

Oh That means we have to change it according to our video

NonameASecret commented 2 years ago

Oh That means we have to change it according to our video

use this default token

NonameASecret commented 2 years ago

windwine error MDP_URL = "https://contents.pallycon.com/bunny/stream.mpd" lic_url = " https://license.pallycon.com/ri/licenseManager.do" Drm Video Link = "https://sample.pallycon.com/dev/demoPlayer.do?lang=en&player=theo" How to fix this issue?

I got this error image

Check Your Headers.py File like This

😞😖😖😖😖😖😖😖😖😖😖

Anyone Can Help Me

NonameASecret commented 2 years ago

windwine error MDP_URL = "https://contents.pallycon.com/bunny/stream.mpd" lic_url = " https://license.pallycon.com/ri/licenseManager.do" Drm Video Link = "https://sample.pallycon.com/dev/demoPlayer.do?lang=en&player=theo" How to fix this issue?

I got this error image

Check Your Headers.py File like This

😞😖😖😖😖😖😖😖😖😖😖

Anyone Can Help Me

@medvm @pythonkenyard @anonyymous2021 @misternobody007

misternobody007 commented 2 years ago

Your CDM is Revoked

NonameASecret commented 2 years ago

Your CDM is Revoked

wtf.... but @medvm get key it.

read this

NonameASecret commented 2 years ago

I get this

PSSH obtained. AAAAPHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABwIARIQ8XnawaPOSTuw4YRfGaUJuCIGNTg4NDE1 Traceback (most recent call last): File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 130, in correct, keys = WV_Function(pssh, lic_url) File "C:\Users\Mimun\Desktop\widevine_keys-main\l3.py", line 52, in WV_Function data=f'token={headers.token}&provider={headers.provider}&payload={str(request, "utf-8" )}' AttributeError: module 'headers' has no attribute 'token'

read this

misternobody007 commented 2 years ago

image

NonameASecret commented 2 years ago

image

are you got keys? can you give your headers.txt file

misternobody007 commented 2 years ago

Header.txt

NonameASecret commented 2 years ago

Header.txt

@misternobody007 can you contact on telegram?

misternobody007 commented 2 years ago

Copy as curl Use curl converter to convert Then copy just the headers. No need of other data

For our video we just need these lines from the converted curl

headers = {
    'authority': 'license.pallycon.com',
    'pallycon-customdata-v2': 'eyJkcm1fdHlwZSI6IldpZGV2aW5lIiwic2l0ZV9pZCI6IklOS0EiLCJ1c2VyX2lkIjoicHR6NGMwNmgiLCJjaWQiOiJiaWdidWNrYnVubnkiLCJwb2xpY3kiOiIwNDV5ejUvK3BKbGpBWXRWYWpXZjlWd2c1MTFHekdtcTUrV1V4Y29JOHg4OHhkWHdFQnNvQW1HZHVoWkF6UXU2ZDQ4M3dpaXJOS0tVOWtpenRDRmRnUT09IiwicmVzcG9uc2VfZm9ybWF0Ijoib3JpZ2luYWwiLCJ0aW1lc3RhbXAiOiIyMDIxLTEyLTI3VDEwOjU4OjU5WiIsImhhc2giOiJKOFBOTFVoYUdsRTNTdXpaY3laM3BVUzJFYkJxSEI1WGR2dVhhK0xyNDBzPSIsImtleV9yb3RhdGlvbiI6ZmFsc2V9',
    'sec-ch-ua-mobile': '?0',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36',
    'sec-ch-ua-platform': '"Windows"',
    'sec-ch-ua': '"Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"',
    'accept': '*/*',
    'origin': 'https://sample.pallycon.com',
    'sec-fetch-site': 'same-site',
    'sec-fetch-mode': 'cors',
    'sec-fetch-dest': 'empty',
    'referer': 'https://sample.pallycon.com/',
    'accept-language': 'en-US,en-GB;q=0.9,en;q=0.8',
}

After copy and paste this which got from default headers.py

# params inserted below will be passed to data-raw 

token = 'PFYtFSqWMYIROJYywBp0rbKvpD3z6N6E6UezNrZmCeKHkcJ5BiH4J8qwO0kfWOmrSsyFJMg9OqKKEwvuQiXL4qdDTa6ZYplNV9IQt6eEuveglDxjVlYd0vAecS5TZKn5mIs01YxcYNlTC7tu3BIk63JhMykMWEMmj1oEqaLa7N3ZrfU2VTlEPaWXBQV6PxnFeD022Yi298GOX/lDik7sXt5u4duT0aKIYbz0HPmjoh8b9Uy8bvzJUa0/SlgRcsW8RNTNjRJHM6N7BESCBGFEZcWoSXeDLEblEfRoBKro2iDGB1neLfRdY1fj7tJX1Rn9lj+OJwRTrBV4XoTQFuSsFwvYCeQfkAoRHXnze9njI5pY7sYgIGxuM4Zh3Wqaps6kxdO53QMm0jJ/L41X6r5CikSGKQ3Rcps8eQccZb9svEuyXMof2nm+eYL+AVPPrfmAf/BrmUHfiuF9CmNsF9pI7PjJfLeASmh3KDI/5gUuC4uJB7rjTzHVWNRz8MSvYjJ37/5V9+FTihpu04+0jFZ1AlGRks2dzk2IGvm5WcwUhsW2l/oQXlh7AgsksIl2DT0wH11WeG+h1/ijymMcG9AZzsxtkC53eLJ8bl55/Aag0TJfX4N6KvV7UhglXxkLifb06bLK/wlcGCfb01b4cnngcjPJEMxh2+Q7sJSnbyrtsfodzNah8JXITmx5kTkFFZkdtga1ha9jAb+Z40VMQfbrCLgh0GEe2G3VczcIt8QHAWAeS91TkzLbMRAugbgLvdbI8yQXtM15uo+TXrV4PNFprug33AnvnQu7IpNxlmgPMZhEn4Qqc/V++OFIpz/JYEMnLFvjYcXE2+sPc4uKnoE0xk33+IgZKtWtDhxRg2SJKyKOYxXucXybUuqPP/d+Nq1VNhD84Of+EfVvBjs1u75pNz/kmu5ms9ppRMkafq0/2311hbYi6VXmp6AeJweGJWkGKEFxw7xADuC8iM7xWnXW5aiNvhbsXBOwuTK8b2ioxjrg6OFhiMck+z9M5FHg+ktY7YB8iY+0V6B/Op2cQGtLaZ2E9lsomlQpxL+LiPI7UWEqmALEGH/Pk5tdLnlFRjEk2PPc8YURw+/nkP9tqJ/AXQwaXc9iwC5yxlYPCsp/Tc4='
provider = 'kakaotv'

releasePid = "_qVpiY31v_oU"

So now the headers.py must be like this

headers = {
    'authority': 'license.pallycon.com',
    'pallycon-customdata-v2': 'eyJkcm1fdHlwZSI6IldpZGV2aW5lIiwic2l0ZV9pZCI6IklOS0EiLCJ1c2VyX2lkIjoicHR6NGMwNmgiLCJjaWQiOiJiaWdidWNrYnVubnkiLCJwb2xpY3kiOiIwNDV5ejUvK3BKbGpBWXRWYWpXZjlWd2c1MTFHekdtcTUrV1V4Y29JOHg4OHhkWHdFQnNvQW1HZHVoWkF6UXU2ZDQ4M3dpaXJOS0tVOWtpenRDRmRnUT09IiwicmVzcG9uc2VfZm9ybWF0Ijoib3JpZ2luYWwiLCJ0aW1lc3RhbXAiOiIyMDIxLTEyLTI3VDEwOjU4OjU5WiIsImhhc2giOiJKOFBOTFVoYUdsRTNTdXpaY3laM3BVUzJFYkJxSEI1WGR2dVhhK0xyNDBzPSIsImtleV9yb3RhdGlvbiI6ZmFsc2V9',
    'sec-ch-ua-mobile': '?0',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36',
    'sec-ch-ua-platform': '"Windows"',
    'sec-ch-ua': '"Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"',
    'accept': '*/*',
    'origin': 'https://sample.pallycon.com',
    'sec-fetch-site': 'same-site',
    'sec-fetch-mode': 'cors',
    'sec-fetch-dest': 'empty',
    'referer': 'https://sample.pallycon.com/',
    'accept-language': 'en-US,en-GB;q=0.9,en;q=0.8',
}
# params inserted below will be passed to data-raw 

token = 'PFYtFSqWMYIROJYywBp0rbKvpD3z6N6E6UezNrZmCeKHkcJ5BiH4J8qwO0kfWOmrSsyFJMg9OqKKEwvuQiXL4qdDTa6ZYplNV9IQt6eEuveglDxjVlYd0vAecS5TZKn5mIs01YxcYNlTC7tu3BIk63JhMykMWEMmj1oEqaLa7N3ZrfU2VTlEPaWXBQV6PxnFeD022Yi298GOX/lDik7sXt5u4duT0aKIYbz0HPmjoh8b9Uy8bvzJUa0/SlgRcsW8RNTNjRJHM6N7BESCBGFEZcWoSXeDLEblEfRoBKro2iDGB1neLfRdY1fj7tJX1Rn9lj+OJwRTrBV4XoTQFuSsFwvYCeQfkAoRHXnze9njI5pY7sYgIGxuM4Zh3Wqaps6kxdO53QMm0jJ/L41X6r5CikSGKQ3Rcps8eQccZb9svEuyXMof2nm+eYL+AVPPrfmAf/BrmUHfiuF9CmNsF9pI7PjJfLeASmh3KDI/5gUuC4uJB7rjTzHVWNRz8MSvYjJ37/5V9+FTihpu04+0jFZ1AlGRks2dzk2IGvm5WcwUhsW2l/oQXlh7AgsksIl2DT0wH11WeG+h1/ijymMcG9AZzsxtkC53eLJ8bl55/Aag0TJfX4N6KvV7UhglXxkLifb06bLK/wlcGCfb01b4cnngcjPJEMxh2+Q7sJSnbyrtsfodzNah8JXITmx5kTkFFZkdtga1ha9jAb+Z40VMQfbrCLgh0GEe2G3VczcIt8QHAWAeS91TkzLbMRAugbgLvdbI8yQXtM15uo+TXrV4PNFprug33AnvnQu7IpNxlmgPMZhEn4Qqc/V++OFIpz/JYEMnLFvjYcXE2+sPc4uKnoE0xk33+IgZKtWtDhxRg2SJKyKOYxXucXybUuqPP/d+Nq1VNhD84Of+EfVvBjs1u75pNz/kmu5ms9ppRMkafq0/2311hbYi6VXmp6AeJweGJWkGKEFxw7xADuC8iM7xWnXW5aiNvhbsXBOwuTK8b2ioxjrg6OFhiMck+z9M5FHg+ktY7YB8iY+0V6B/Op2cQGtLaZ2E9lsomlQpxL+LiPI7UWEqmALEGH/Pk5tdLnlFRjEk2PPc8YURw+/nkP9tqJ/AXQwaXc9iwC5yxlYPCsp/Tc4='
provider = 'kakaotv'

releasePid = "_qVpiY31v_oU"
misternobody007 commented 2 years ago

Sent you

NonameASecret commented 2 years ago

Sent you

thank you very much dear