Skip to content
/ WKS-KEYS Public
forked from CrymanChen/WKS-KEYS

A repo modified for bypassing Widevine L3 DRM and obtaining keys.

License

Notifications You must be signed in to change notification settings

zlxyc/WKS-KEYS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WKS-KEYS

更新 Update

2023.11.12

l3mubi.py

  1. 输入base64编码或十六进制的Key ID即可自动转化为PSSH.
  2. 优化标头部分,仅需要关键参数。
  3. 增加帮助部分,加入-h--help即可阅读更详细的说明。
    (a. Either Key ID in base64 or in hex will convert to PSSH automatically.
    b. Only critical params are needed in headers (rather than full headers).
    c. Adding -h or --help will enable help text which is more datailed and beneficial to using this script.)

非常感谢 Spectrumhsm 的宝贵意见! Really appreciate the great idea from Spectrumhsm!
示例截图 Screenshot:
20231112001310

简介 Abstract

项目名称 Project Name

WKS-KEYS

项目介绍 Introduction

这是一个经过修改的项目, 用于获取L3等级下, Widevine的密钥
A repo modified for bypassing Widevine L3 DRM and obtaining keys.
在这里我会不定期上传一些我写好的程序(下称脚本),以方便新手直接使用。每个脚本都对应不同的网站。请注意,所有经过我编写的脚本均不得用于商业用途,且上传脚本并不是我的义务。
I will upload some programs that I have edited from time to time (hereinafter referred to as scripts) for new-beginners' convenience. Each script works for getting keys from different websites. Please note that, no commercial usage to all my scripts, and it's not an obligation to update them so DO NOT rush please.

版权信息 Copyright Information

本项目原发行于WKS-KEY, 其中WKS-KEY又来自于WKS-KEY, 在此对两位作者WKS-uwuweapon121表示感谢。同时若此修改版不慎触犯了您的利益, 请第一时间与我联系。本项目无任何商业用途, 仅为个人学习, 方便个人使用。
Copyright Information: This project came from WKS-KEY, and WKS-KEY was forked from WKS-KEY. I'd like to express my sincerest thanks to both developers WKS-uwu and weapon121. In case this modified version unintentionally infringes upon your interests, please contact me as soon as possible. This project is purely for personal learning and convenience, without any commercial purpose. This also means that if the modifications made to your project are unintentionally harmful, please contact me immediately.

Usage (Chinese Simplified)

本项目需要一定的专业知识(A bit technical), 如果您对该领域不了解, 请不要进行尝试, 我亦不会对相应问题进行解答, 敬请谅解。

需要预先准备的东西

  1. 本程序(WKS-KEYS.zip)
  2. 一个有效的CDM

步骤说明

  1. 准备好CDM。
  2. 将CDM放置在这个目录(WKS-KEYS\pywidevine\L3\cdm\devices\android_generic)下。
  3. 播放受DRM保护的视频, 收集需要的信息(包括但不限于PSSH和License URL)。 image image
  4. 将收集的信息进行整理, 放置在相对应的Python文件中。
  5. 输入PSSH和License URL, 等待服务器返回信息以及等待程序返回密钥。
  6. 获得密钥, 请继续后续操作。

本项目修改之处

  1. 对原项目进行了中文注释, 旨在提高代码的可识别性。
  2. 对原项目进行了功能上的增加, 主要是增加了一个“自动复制密钥”的功能。

运行示意图

image 同时, 剪贴板上自动复制了你获得的密钥, 方便在使用例如N_m3u8DL-RE时, 可快速粘贴密钥信息, 无需手动逐一复制。
你的剪贴板上的内容如下图所示: image 达到一键自动粘贴的功能, 无需手动复制粘贴。

About

A repo modified for bypassing Widevine L3 DRM and obtaining keys.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%