CDM Device Checker for python

Overview

CDM-Device-Checker

Easily parse the cdm device info response from: https://tools.axinom.com/decoders/LicenseRequest

USAGE:

py check_device.py test  
or  
py check_device.py "license_base64"

RESULT

{
    "status": "Active",
    "systemId": "4464",
    "securityLevel": "3",
    "manufacturer": "Generic Field Provisioning",
    "model": "Android KLP x86",
    "modelYear": "2013",
    "modelName": "Android SDK built for x86",
    "systemOnChip": "android generic",
    "type": "software",
    "AdditionalInfo": {
        "applicationName": null,
        "architectureName": "x86",
        "buildInfo": "google/sdk_google_phone_x86/generic_x86:7.1.1/NYC/5464897:userdebug/test-keys",
        "companyName": "Google",
        "deviceId": "zdfDCPHaHrBQakqKhEcFqXiLwbblJwg",
        "deviceName": "generic_x86",
        "productName": "sdk_google_phone_x86",
        "widevineCdmVersion": "v4.1.0-android"
    }
}
You might also like...
Script for resizing MTD partitions on a QNAP device in order to be available to upgrade from buster to bullseye
Script for resizing MTD partitions on a QNAP device in order to be available to upgrade from buster to bullseye

QNAP partitions resize for kirkwood devices. As explained by Marin Michlmayr, Debian bullseye support on kirkwood QNAP devices was dropped due to [mai

Easy installer for running Amazon AVS Device SDK on Raspberry Pi

avs-device-sdk-pi Scripts to enable Alexa voice activation using Picovoice Porcupine If you like the work, find it useful and if you would like to get

Turn a raspberry pi into a Bluetooth Midi device

PiBluetoothMidSetup This will change serveral system wide packages/configurations Do not run this on your primary machine or anything you don't know h

A web UI for managing your 351ELEC device ROMs.

351ELEC WebUI A web UI for managing your 351ELEC device ROMs. Requirements Python 3 or Python 2.7 are required. If the ftfy package is installed, it w

Plugin to manage site, circuit and device diagrams and documents in Netbox
Plugin to manage site, circuit and device diagrams and documents in Netbox

Netbox Documents Plugin A plugin designed to faciliate the storage of site, circuit and device specific documents within NetBox Note: Netbox v3.2+ is

Todos os exercícios do Curso de Python, do canal Curso em Vídeo, resolvidos em Python, Javascript, Java, C++, C# e mais...
Todos os exercícios do Curso de Python, do canal Curso em Vídeo, resolvidos em Python, Javascript, Java, C++, C# e mais...

Exercícios - CeV Oferecido por Linguagens utilizadas atualmente O que vai encontrar aqui? 👀 Esse repositório é dedicado a armazenar todos os enunciad

PyDy, short for Python Dynamics, is a tool kit written in the Python
PyDy, short for Python Dynamics, is a tool kit written in the Python

PyDy, short for Python Dynamics, is a tool kit written in the Python programming language that utilizes an array of scientific programs to enable the study of multibody dynamics. The goal is to have a modular framework and eventually a physics abstraction layer which utilizes a variety of backends that can provide the user with their desired workflow

A Python script made for the Python Discord Pixels event.

Python Discord Pixels A Python script made for the Python Discord Pixels event. Usage Create an image.png RGBA image with your pattern. Transparent pi

this is a basic python project that I made using python

this is a basic python project that I made using python. This project is only for practice because my python skills are still newbie.

Comments
  • Make

    Make "colored_print" optional

    Hi :smile: ; first, many thanks for authoring and maintaining this nice script :+1: !

    Now, in versions 1.0.5+,

    • colored output for device info and logger

    has been implemented, via colored_print, as a cosmetic/visual enhancement; however:

    1. Is this feature limited by Windows OS version?
    2. Is this feature limited by CPython version?

    At the time of this writing, the scripts are py3.6+ compatible, this means minimum system requirement is Windows Vista SP2 32/64-bit, with either py3.6/3.7; and Python EoLs Windows 7 SP1 with py3.8 ...

    When the check.py script is run on Windows 7 SP1 64-bit/CPython 3.7.9 32-bit, this is how the Command Prompt Window looks like:

    color_printing

    The case is the same when Vista SP2 32-bit/CPython 3.7.9 32-bit (older but fully functional laptop) is being used...

    Google have recently given Win7 another year of grace period (Jan 23rd 2023), this includes their WidevineCDM - now on version 4.10.2449.0, so I guess this still popular OS will stick around for a while longer... :wink:

    Can the colored_print code be made optional in environments where it doesn't work as intended? Ideally, a "dynamic" solution would be preferred (make the scripts detect support for it), barring that a user-configurable setting inside config.py, if possible...

    Thanks for your time and attention :smiley_cat:

    opened by Vangelis66 3
  • serialized_options

    serialized_options

    CDM-Device-Checker-master\wv_proto\wv_proto2_pb2.py", line 17, in DESCRIPTOR = _descriptor.FileDescriptor( TypeError: init() got an unexpected keyword argument 'serialized_options'

    opened by skyunix 3
  • [AXINOM]: The decoding service currently is not available.

    [AXINOM]: The decoding service currently is not available.

    https://i.imgur.com/yNrbGx8.png

    Anybody knows what is going on? Have been getting the above error for quite some time :-(

    Cheers ;-)

    Edit: I read see Axinon are having some trouble with the requests part. Hope they will be back up soon.

    opened by ghost 1
  • Error on checking from sys_chip when it's None

    Error on checking from sys_chip when it's None

    [INFO]:  Parsing device info
    [WARN]:  No match found for: System on Chip
    [WARN]:  No match found for: Model
    [WARN]:  No match found for: application_name
    [WARN]:  No match found for: widevine_cdm_version
    [INFO]:  This device is currently ACTIVE :)
    Traceback (most recent call last):
      File "\cdm_device_checker\check.py", line 167, in <module>
        sys.exit(main(parser.parse_args()))
      File "\cdm_device_checker\check.py", line 160, in main
        get_device_info(challenge, chal_path.parent)
      File "\cdm_device_checker\check.py", line 112, in get_device_info
        if 'generic' in sys_chip:
    TypeError: argument of type 'NoneType' is not iterable
    

    TODO LATER

    bug 
    opened by zackmark29 0
Releases(v1.0.0-2022-10-03)
Owner
zackmark29
zackmark29
An example module hooking system, will be used in PySAMP.

An example module hooking system, will be used in PySAMP.

2 May 01, 2022
Ghost source since the developer of the project quit due to reasons

👻 Ghost Selfbot The official code for Ghost which was recently discontinued and released to the public. Feel free to use any of the code found in thi

xannyy 2 Mar 24, 2022
Metal Gear Rising: Revengeance's DAT archive (un)packer

DOOMP Metal Gear Rising: Revengeance's DAT archive (un)packer

Christopher Holzmann Pérez 5 Sep 02, 2022
Dot Browser is a privacy-conscious web browser with smarts built-in for protection against trackers and advertisments online.

🌍 Take back your privacy with Dot Browser, the privacy-conscious web browser that protects you from being tracked and monitored online.

Dot HQ 1k Jan 07, 2023
Ronin - Create Fud Meterpreter Payload To Hack Windows 11

Ronin - Create Fud Meterpreter Payload To Hack Windows 11

Dj4w3d H4mm4di 6 May 09, 2022
My collection of mini-projects in various languages

Mini-Projects My collection of mini-projects in various languages About: This repository consists of a number of small projects. Most of these "mini-p

Siddhant Attavar 1 Jul 11, 2022
Beancount: Double-Entry Accounting from Text Files.

beancount: Double-Entry Accounting from Text Files Contents Description Documentation Download & Installation Versions Filing Bugs Copyright and Licen

2.3k Dec 28, 2022
Generate Openbox Menus from a easy to write configuration file.

openbox-menu-generator Generate Openbox Menus from a easy to write configuration file. Example Configuration: ('#' indicate comments but not implement

3 Jul 14, 2022
Edorado93 - Unraveling a Rockstar! -- Too much? Fine, Unraveling a humble programmer then?

Hi, I'm Sachin Malhotra ( ⛄ 💻 🎃 🍺 ) Let me set the records straight. Roger Federer is the GOAT and I will not hear otherwise! Now that we have that

Sachin Malhotra 7 Dec 25, 2022
- Auto join teams teams ( from calendar invite )

Auto Join Teams Meetings Requirements: Python 3.7 or higher Latest Google Chrome This script automatically logins to your account and joins the meetin

Prajin Khadka 10 Aug 20, 2022
Assignment for python course, BUPT 2021.

pyFuujinrokuDestiny Assignment for python course, BUPT 2021. Notice username and password must be ASCII encoding. If username exists in database, syst

Ellias Kiri Stuart 3 Jun 18, 2021
Dapp / Forge traces enhancer

traces-explorer Dapp / Forge traces enhancer Usage traces.py and pattern_* files should be in the same directory make test traces.txt py traces.

1 Feb 02, 2022
Скрипт позволяет заводить задачи в Панель мониторинга YouTrack на основе парсинга сайта safe-surf.ru

Скрипт позволяет заводить задачи в Панель мониторинга YouTrack на основе парсинга сайта safe-surf.ru

Bad_karma 3 Feb 12, 2022
TB Set color display - Add-on for Blender to set multiple objects and material Display Color at once.

TB_Set_color_display Add-on for Blender with operations to transfer name between object, data, materials and action names Set groups of object's or ma

1 Jun 01, 2022
An async API wrapper for Dress To Impress written in Python.

dti.py An async API wrapper for Dress To Impress written in Python. Some notes: For the time being, there are no front-facing docs for this beyond doc

Steve C 1 Dec 14, 2022
Low-level Python CFFI Bindings for Argon2

Low-level Python CFFI Bindings for Argon2 argon2-cffi-bindings provides low-level CFFI bindings to the Argon2 password hashing algorithm including a v

Hynek Schlawack 4 Dec 15, 2022
PREFS is a Python library to store and manage preferences and settings.

PREFS PREFS is a Python library to store and manage preferences and settings. PREFS stores a Python dictionary in a total human-readable file, the PRE

Pat 13 May 26, 2022
Ked interpreter built with Lex, Yacc and Python

Ked Ked is the first programming language known to hail from The People's Republic of Cork. It was first discovered and partially described by Adam Ly

Eoin O'Brien 1 Feb 08, 2022
An easy python calculator for those who want's to know how if statements, loops, and imports works give it a try!

A usefull calculator for any student or anyone who want's to know how to build a simple 2 mode python based calculator.

Antonio Sánchez 1 Jan 06, 2022
The git for the Python Story Utility Package library.

PSUP, The Python Story Utility Package Module. PSUP helps making stories or games with options, diverging paths, different endings and so on. You can

Enoki 6 Nov 27, 2022