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
Animations made using manim-ce

ManimCE Animations Animations made using manim-ce The code turned out to be a bit complicated than expected.. It can be greatly simplified, will work

sparshg 17 Jan 06, 2023
A simple 3D rigid body simulation written in python

pyRigidBody3d A simple 3D rigid body simulation written in python

30 Oct 07, 2022
PIP Manager written in python Tkinter

PIP Manager About PIP Manager is designed to make Python Package handling easier by just a click of a button!! Available Features Installing packages

Will Payne 9 Dec 09, 2022
A tool to improve Boolean satisfiability (SAT) solver user's life

SatHelper This is a tool to improve the Boolean satisfiability (SAT) and MaxSAT solver user's life. It helps you model various problems as SAT and Max

Tomas Balyo 1 Nov 16, 2021
Reproduction repository for the MDX 2021 Hybrid Demucs model

Submission This is the submission for MDX 2021 Track A, for Track B go to the track_b branch. Submission Summary Submission ID: 151378 Submitter: defo

Alexandre Défossez 62 Dec 18, 2022
Daily knowledge pills to get better in Python.

Python daily pills Daily knowledge pills to get better Python code. Why Does your Python code suffers of any of this symptoms? Incorrect Indentation I

Jeferson Vaz dos Santos 35 Sep 19, 2022
Basic Clojure REPL for Sublime Text

Basic Clojure REPL for Sublime Text Goals: Decomplected: just REPL, nothing more Zero dependencies: works directly with pREPL Compact: Display code ev

Nikita Prokopov 23 Dec 24, 2021
Sample python script for monitoring Rocketchat database and get statistics of users.

rocketchat-DB-monitoring Sample python script for monitoring Rocketchat database and get statistics of users. 1. Update python: yum check-update && yu

Mojtaba Taleghani 1 Apr 12, 2022
Algo próximo do ARP

ArpPY Algo parecido com o ARP-Scan. Dependencias O script necessita no mínimo ter o Python versão 3.x instalado e ter o sockets instalado. Executando

Feh's 3 Jan 18, 2022
A turtlebot auto controller allows robot to autonomously explore environment.

A turtlebot auto controller allows robot to autonomously explore environment.

Yuliang Zhong 1 Nov 10, 2021
📙 Super lightweight function registries for your library

catalogue: Super lightweight function registries for your library catalogue is a tiny, zero-dependencies library that makes it easy to add function (o

Explosion 139 Jan 02, 2023
banking system with python, beginner friendly, preadvanced level

banking-system-python banking system with python, beginner friendly, preadvanced level Used topics Functions else/if/elif dicts methods parameters hol

Razi Falah 1 Feb 03, 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
Python package for reference counting native pointers

refcount master: testing: This package is primarily for managing resources in native libraries, written for instance in C++, from Python. While it boi

CSIRO Hydroinformatics 2 Nov 03, 2022
Random Turkish name generator with realistic probabilities.

trnames Random Turkish name generator with realistic probabilities. Based on Trey Hunner's names package. Installation The package can be installed us

Kaan Öztürk 20 Jan 02, 2023
Package pyVHR is a comprehensive framework for studying methods of pulse rate estimation relying on remote photoplethysmography (rPPG)

Package pyVHR (short for Python framework for Virtual Heart Rate) is a comprehensive framework for studying methods of pulse rate estimation relying on remote photoplethysmography (rPPG)

PHUSE Lab 261 Jan 03, 2023
Pulse sequence builder and compiler for q1asm

q1pulse Pulse sequence builder and compiler for q1asm. q1pulse is a simple library to compile pulse sequence to q1asm, the assembly language of Qblox

Sander de Snoo 3 Dec 14, 2022
CRC Reverse Engineering Tool in Python

CRC Beagle CRC Beagle is a tool for reverse engineering CRCs. It is designed for commnication protocols where you often have several messages of the s

Colin O'Flynn 51 Jan 05, 2023
⚡KiCad library containing footprints and symbols for inductive analog keyboard switches

Inductive Analog Switches This library contains footprints and symbols for inductive analog keyboard switches for use with the Texas Instruments LDC13

Elias Sjögreen 3 Jun 30, 2022
A simple way to read and write LAPS passwords from linux.

A simple way to read and write LAPS passwords from linux. This script is a python setter/getter for property ms-Mcs-AdmPwd used by LAPS inspired by @s

Podalirius 36 Dec 09, 2022