FoxRefire / wvg

Chrome/Firefox extension for pen-testing to retrieve encryption keys of Widevine protected content !DON'T DECRYPT CONTENT UNLESS YOU HAVE THE RIGHT TO DO IT!
GNU Affero General Public License v3.0
234 stars 54 forks source link

Define loadBody API for make scheme file more concise #21

Closed FoxRefire closed 3 months ago

FoxRefire commented 3 months ago

The request body obtained by the extension is once encoded by Base64 to ensure proper data exchange by Pyodide.

Therefore, in order to use the request body obtained in the scheme, it is necessary to return the request body to the original data as in "json.loads(base64.b64decode(licBody.encode()).decode())".

This can create confusion for developers who want to create schemes, so an API should be defined to facilitate loading.

The code should be kept clean and easily understood by all.

It should not play second fiddle to Bullshit.

FoxRefire commented 3 months ago

Closed in https://github.com/FoxRefire/wvg/commit/64b86a17111e622e84445a2d5e0c0bb6f4c9c029