DevLARLEY/AndroidWidevineProxy — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small command line tool for authorized Android DRM testing. I want to connect to an Android phone over ADB with USB debugging on and frida server running, then run the tool against an already open app by giving it the app name and a Widevine device file path.

The tool should proxy Widevine challenges and license responses between the Android MediaDrm API and the app, then print the keys as soon as a challenge and license are received. Please include options to print in the normal format, mp4decrypt format, or shaka packager format, plus a token only mode when privacy mode is off. If the app is not using MediaDrm, it should fail clearly and explain that.

Please set up the Python entry point, the Frida agent script, package scripts to compile the agent, and simple install and usage instructions. Look up current docs online if you need to.

Want more depth? Deep Reverse