Satsuoni / widevine-l3-guesser

MIT License
848 stars 366 forks source link

True hero #1

Closed EnthusiastAnon closed 2 years ago

EnthusiastAnon commented 3 years ago

You, Satsuoni sir, are a true hero! How can we donate? You did an INCREDIBLE JOB, I just can't believe this. Please keep up the good work!

TiRajo commented 3 years ago

Hello latest Update stopped showing keys for some sites which was shown before !

Satsuoni commented 3 years ago

@Satsuoni This is the error message, could this problem caused by wasm_gsr.wasm being built on a 64bit operating system?

That part is in Javascript, so if I were to guess... They have different keys for different system categories. So it won't work, sorry XD Use VM?

Hello latest Update stopped showing keys for some sites which was shown before !

Example and error message?

TiRajo commented 3 years ago

falling back to ArrayBuffer instantiation failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder Uncaught (in promise) RuntimeError: abort(CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder). Build with -s ASSERTIONS=1 for more info. It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.

Satsuoni commented 3 years ago

falling back to ArrayBuffer instantiation failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder Uncaught (in promise) RuntimeError: abort(CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder). Build with -s ASSERTIONS=1 for more info. It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.

Any more? And if you try previous version? Also, which website is that? Extension accumulates errors on sites that are not video related.

TiRajo commented 3 years ago

its Network based streaming site got updated think old too not shows the key ! https://www.airtelxstream.in/

Satsuoni commented 3 years ago

its Network based streaming site got updated think old too not shows the key ! https://www.airtelxstream.in/

I cannot login, so... What does console say?

TiRajo commented 3 years ago

No error they are hiding the console with some trick. other extension also not shows logs on the site. extension works well(used modified one which popup the keys"https://github.com/nilaoda/widevine-l3-guesser/tree/modified"!) but no result in console ! any one can say how to bypass the hiding trick!?

Satsuoni commented 3 years ago

No error they are hiding the console with some trick. other extension also not shows logs on the site. extension works well(used modified one which popup the keys"https://github.com/nilaoda/widevine-l3-guesser/tree/modified"!) but no result in console ! any one can say how to bypass the hiding trick!?

try replacing console.log with console.info? I am trying to find a good bypass trick, but no luck so far. (On this particular site, console.info is not overwritten)

PlaceboPRS commented 3 years ago

Has anyone figured out how to convert it to a firefox addon? Tried creating an xpi but the folder is too big, can temporarily load the folder in firefox extensions debug mode and it works great but that has to be done every time you start firefox :)

yikescapture commented 3 years ago

Thank you for all your work. Really interesting project and write up. Any chance you could also post the codelifted code for LooksLikeSha1_1801695b1?

Essam23 commented 3 years ago

@TiRajo Try using Firefox or Brave, the developer tools are working on the site

https://www.airtelxstream.in/

c2

33

Satsuoni commented 3 years ago

Thank you for all your work. Really interesting project and write up. Any chance you could also post the codelifted code for LooksLikeSha1_1801695b1?

Added lookslikehsa in misc folder... Not sure if it will compile separate line that. Messed up logs. They may work or not work now :) Enjoy feature creep :P Done for today.

TiRajo commented 3 years ago

@TiRajo Try using Firefox or Brave, the developer tools are working on the site

https://www.airtelxstream.in/

c2

33

Will try...!

xhlove commented 3 years ago

Pure local version(no browser need), just provide pssh and license url. Maybe you'll be interested.

TiRajo commented 3 years ago

Pure local version(no browser need), just porivide pssh and license url. Maybe you'll be interested.

Wow! Nodrm gets errors as its py2 is that your Wvclient3 works with new py?!

Essam23 commented 3 years ago

@PlaceboPRS I deleted the unnecessary files, and submitted this add-on to Firefox (this add-on is private), I raised the version number so I could submit it, I tested the add-on and It worked without any problems, installing the add-on is just by dragging and dropping the file widevine_guesser-1.0.4-fx.xpi into Firefox (I did not change anything in the original code, just added a simple icon and modified manifest.json for the icon to work on Firefox).

widevine_guesser-1.0.4-fx.zip

This add-on is until this commit.

https://github.com/Satsuoni/widevine-l3-guesser/commit/842392901901cef94b5e8b188208efb94e603827

https://github.com/Satsuoni/widevine-l3-guesser/tree/842392901901cef94b5e8b188208efb94e603827

The contents of the add-on could be examined by changing the extension of the add-on from xpi to zip and extracting it, the extracted files will work on Chrome too.

Baku86 commented 3 years ago

falling back to ArrayBuffer instantiation failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder Uncaught (in promise) RuntimeError: abort(CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder). Build with -s ASSERTIONS=1 for more info. It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.

Any more? And if you try previous version? Also, which website is that? Extension accumulates errors on sites that are not video related.

Same issue on all versions - Edge (Netlix, Amazon, HBO). Firefox extension works fine. On chrome 92 I get Can't verify license request signature; either the platform is wrong or the key has changed!

Satsuoni commented 3 years ago

Same issue on all versions - Edge (Netlix, Amazon, HBO). Firefox extension works fine. On chrome 92 I get Can't verify license request signature; either the platform is wrong or the key has changed!

Edge should not use widevine at all, IIRC, so that won't work (PlayReady is their DRM, is it not?) . As for Chrome 92: what is the widevinecdm.dll version you've got? 4.10.2209.1 might not work, 4.10.2209.0 should. That is the only thing I can do here.

Baku86 commented 3 years ago

Previous decryptor worked on Edge and my friend tells me that this one works too. Edge uses PlayReady only for highest possible quality videos like 4k and Full HD Main profile.

It works now. I had correct widevinecdm.dll version but on Chrome 32-bit. 64-bit works fine. :)

MG577 commented 3 years ago

I am using chrome latest version and able to get keys from NETFLIX and I was able to decrypt the movie (I am on 1080p plan)

also tried on LIONSGATE PLAY/HOTSTAR .. working there too

but I am not able to get keys from JIO CINEMA ..

got keys from AMAZON PRIME VIDEO ,,, but not yet tried to download

thanks for ur great work buddy @Satsuoni

TiRajo commented 3 years ago

JIO CINEMA

They use shaka. shaka gets skipped from decode thats way not able to get keys

MG577 commented 3 years ago

JIO CINEMA

They use shaka. shaka gets skipped from decode thats way not able to get keys

Any solution for that ??

PlaceboPRS commented 3 years ago

@PlaceboPRS I converted this branch to a Firefox add-on

https://github.com/nilaoda/widevine-l3-guesser/tree/modified

widevine_guesser-1.0.0-fx.zip

But the add-on still need to be modified to get the keys without using the console on Firefox, I did not know how to modify it yet.

127744128-4a91d09b-a4f0-44b2-9e7b-2a9667d94cbe

Aha that's working thanks! The

@PlaceboPRS I deleted the unnecessary files, and submitted this add-on to Firefox (this add-on is private), I raised the version number so I could submit it, I tested the add-on and It worked without any problems, installing the add-on is just by dragging and dropping the file widevine_guesser-1.0.4-fx.xpi into Firefox (I did not change anything in the original code, just added a simple icon and modified manifest.json for the icon to work on Firefox).

widevine_guesser-1.0.4-fx.zip

This add-on is until this commit.

8423929

https://github.com/Satsuoni/widevine-l3-guesser/tree/842392901901cef94b5e8b188208efb94e603827

The contents of the add-on could be examined by changing the extension of the add-on from xpi to zip and extracting it, the extracted files will work on Chrome too.

Perfect thank you! Think I'll just modify it so the key is shown in a prompt rather than having to find it in the console :)

Satsuoni commented 3 years ago

The background branch might work on some of the sites mentioned, but I have no way to check, so~~ In any case, I'll finish modifying it now ;) If anybody wants to pick it up, they are welcome to it~~ The shaka test site works, though.

JanitorialMess commented 3 years ago

@PlaceboPRS I converted this branch to a Firefox add-on https://github.com/nilaoda/widevine-l3-guesser/tree/modified widevine_guesser-1.0.0-fx.zip But the add-on still need to be modified to get the keys without using the console on Firefox, I did not know how to modify it yet. 127744128-4a91d09b-a4f0-44b2-9e7b-2a9667d94cbe

Aha that's working thanks! The

@PlaceboPRS I deleted the unnecessary files, and submitted this add-on to Firefox (this add-on is private), I raised the version number so I could submit it, I tested the add-on and It worked without any problems, installing the add-on is just by dragging and dropping the file widevine_guesser-1.0.4-fx.xpi into Firefox (I did not change anything in the original code, just added a simple icon and modified manifest.json for the icon to work on Firefox). widevine_guesser-1.0.4-fx.zip This add-on is until this commit. 8423929 https://github.com/Satsuoni/widevine-l3-guesser/tree/842392901901cef94b5e8b188208efb94e603827 The contents of the add-on could be examined by changing the extension of the add-on from xpi to zip and extracting it, the extracted files will work on Chrome too.

Perfect thank you! Think I'll just modify it so the key is shown in a prompt rather than having to find it in the console :)

I made a modified version of the popup based on nilaoda's work that allows you to directly copy \:\ pairs from the popup https://github.com/CoronaBringer/widevine-l3-guesser/tree/popup. Please note that nilaoda's version does not work on Firefox, which means mine too.

TiRajo commented 3 years ago

The background branch might work on some of the sites mentioned, but I have no way to check, so~~ In any case, I'll finish modifying it now ;) If anybody wants to pick it up, they are welcome to it~~ The shaka test site works, though.

Really it worked out ! @MG577 try this background branch its working!

MG577 commented 3 years ago

@TiRajo @Satsuoni

Will check background branch thanks :)

Update: yeah.. its worked on JIO CINEMA .. thanks again :)

54m4d commented 3 years ago

Guys, what does it mean when some videos are playing but the extention does not find any keys at all?

EnthusiastAnon commented 3 years ago

Guys, what does it mean when some videos are playing but the extention does not find any keys at all?

it could mean that the video doesn't have Widevine DRM xD

Share link to the video.

54m4d commented 3 years ago

Guys, what does it mean when some videos are playing but the extention does not find any keys at all?

it could mean that the video doesn't have Widevine DRM xD

Share link to the video.

I would love to but it's behind a log in page with my credentials and 2fa, too bad, otherwise i would have shared the link for discussion.

Though, i was able to download the video file by changing the link extension that i got from dash to mpd, so i only needed the keys which i did not get with this extension, i'm pretty sure it's Wv because non of my downloaders like idm were able to detect the stream, also, when i checked the mp4 file, it was encrypted.

54m4d commented 3 years ago

It's the local cable tv provider's website where you can watch live tv and previous programs, but again the site is not accessible if you're not logged in, i'll try to replicate that on another website, other sites i tried worked just fine

The thing is we don't actually know if this plugin works on all websites.

54m4d commented 3 years ago

Unfortunately, it did not, i was getting something like this in the console:

Capture 02_08_2021_20_07_47

54m4d commented 3 years ago

No, it does not, i will try to replicate that on a site accessible for everybody if possible

ortegabae commented 3 years ago

@Essam3152 is there a new update for widevine_guesser firefox that you share here

Essam23 commented 3 years ago

@ortegabae This version uses the latest files from the master branch.

https://github.com/Satsuoni/widevine-l3-guesser/issues/1#issuecomment-890559677

ortegabae commented 3 years ago

@Essam3152 Thank you for the information https://github.com/Satsuoni/widevine-l3-guesser/issues/1#issuecomment-891821624

georgysaumen commented 3 years ago

Does anyone here know how to get the netflix encrypted movie link to download the movie?

Essam23 commented 3 years ago

@phanluchoaofficial20 You could try this method, the audio is not encrypted and most likely will be 2 channels only, press F12 and in Network search for range/0- then play the video, you will get links for the video and the audio, remove range/0- and the number after it from the links, then download the links with IDM.

georgysaumen commented 3 years ago

@phanluchoaofficial20 You could try this method, you will be able to decrypt up to 720p only, to decrypt 1080p videos I think you will need widevine-l1 keys, the audio is not encrypted and most likely will be 2 channels only, press F12 and in Network search for range/0- then play the video, you will get links for the video and the audio, remove range/0- and the number after it from the links, then download the links with IDM.

I dont understand the line remove range/0- and the number after it from the links, that means:

This is a real link: https://ipv4-c018-hkg001-ix.1.oca.nflxvideo.net/range/0-51239?o=1&v=53&e=1628126740&t=PLnfR6jYECJD2snFRIrH6UMYUbml_kHnaABKg4fNVTyGOsUVIJ6ZjJTWtGYQO82eLo01wQkmgLQKUJln-04vjtaLlWfCau71CXReiMWI8YadZp0nr7rn22xyJhoHuLmfWllScpyzFH8ZnSZ2W0Aaov8sIRmXfsQ8pjYRWvvqXRROIY9Kycd5VkLy

And link after remove: https://ipv4-c018-hkg001-ix.1.oca.nflxvideo.net/?o=1&v=53&e=1628126740&t=PLnfR6jYECJD2snFRIrH6UMYUbml_kHnaABKg4fNVTyGOsUVIJ6ZjJTWtGYQO82eLo01wQkmgLQKUJln-04vjtaLlWfCau71CXReiMWI8YadZp0nr7rn22xyJhoHuLmfWllScpyzFH8ZnSZ2W0Aaov8sIRmXfsQ8pjYRWvvqXRROIY9Kycd5VkLy

Right ?

georgysaumen commented 3 years ago

@phanluchoaofficial20 You could try this method, you will be able to decrypt up to 720p only, to decrypt 1080p videos I think you will need widevine-l1 keys, the audio is not encrypted and most likely will be 2 channels only, press F12 and in Network search for range/0- then play the video, you will get links for the video and the audio, remove range/0- and the number after it from the links, then download the links with IDM.

I have get a video but now, if on NF we have some video that on Universal Pictures so how can I download 1080p videos such as Fast And Furious Hoobs And Shaw ?

Essam23 commented 3 years ago

@phanluchoaofficial20 To get the links for the videos in 1080p you could use this add-on on chrome.

https://chrome.google.com/webstore/detail/netflix-1080p/cankofcoohmbhfpcemhmaaeennfbnmgp?hl=en

georgysaumen commented 3 years ago

But now as example, the movie Fast And Furious Hoobs And Shaws On NF as I see on app they set HD quality, but when use tool netflix 1080p tool and I see they just 960x540 quality

Essam23 commented 3 years ago

@phanluchoaofficial20 Not all the movies and TV shows in Netflix are in 1080p or 720p using the browsers Chrome and Firefox. If the movies or the TV shows are in HD you will see the logo of HD on them.

old

georgysaumen commented 3 years ago

I have see logo HD on movie Fast And Furious Hoobs And Shaws on Netflix app but in netflix website is not stream 1080 even I have enable netflix 1080p extension

Essam23 commented 3 years ago

@phanluchoaofficial20 Netflix limits the resolution for some movies and TV shows on the browsers.

georgysaumen commented 3 years ago

@phanluchoaofficial20 Netflix limits the resolution for some movies and TV shows on the browsers.

Thanks! I can download now!

georgysaumen commented 3 years ago

@Essam3152 Hi, as I see when I use key to decrypt video, and use MediaInfo app to check information of that movie and I see that the Movie Profile is "VP09". How can I get H265 or H264 ? I got VP09 is because of the key decrypt! Right ?

Essam23 commented 3 years ago

@phanluchoaofficial20 Yes, for me I was able to decrypt only the videos with the codec vp09 using the keys. Netflix uses the codec vp09 on Firefox and Chrome.

georgysaumen commented 3 years ago

Does VP09 codec has good picture quality ? As I see, first the file size is so small and when I open video I see picture is not smooth!

Untitled

Essam23 commented 3 years ago

@phanluchoaofficial20 The codec vp09 gives a good picture quality with lower size but it could use more CPU resources. And the picture is not smooth because the bit rate is low.