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
Excel cell checker with python

excel-cell-checker Description This tool checks a given .xlsx file has the struc

Paul Aumann 1 Jan 4, 2022
Vaksina - Vaksina COVID QR Validation Checker With Python

Vaksina COVID QR Validation Checker Vaksina is a general purpose library intende

Michael Casadevall 33 Aug 20, 2022
Lightweight Scheduled Blocks Checker for Current Epoch. No cardano-node Required, data is taken from blockfrost.io

ReLeaderLogs For Cardano Stakepool Operators: Lightweight Scheduled Blocks Checker for Current Epoch. No cardano-node Required, data is taken from blo

SNAKE (Cardano Stakepool) 2 Oct 19, 2021
AndroidEnv is a Python library that exposes an Android device as a Reinforcement Learning (RL) environment.

AndroidEnv is a Python library that exposes an Android device as a Reinforcement Learning (RL) environment.

DeepMind 814 Dec 26, 2022
Simple Python-based web application to allow UGM students to fill their QR presence list without having another device in hand.

Praesentia Praesentia is a simple Python-based web application to allow UGM students to fill their QR presence list without having another device in h

loncat 20 Sep 29, 2022
tidevice can be used to communicate with iPhone device

h 该工具能够用于与iOS设备进行通信, 提供以下功能 截图 获取手机信息 ipa包的安装和卸载 根据bundleID 启动和停止应用 列出安装应用信息 模拟Xcode运行XCTest,常用的如启动WebDriverAgent测试

Alibaba 1.8k Dec 30, 2022
Simple utlity for sniffing decrypted HTTP/HTTPS traffic on a jailbroken iOS device into an HAR format.

Description iOS devices contain a hidden feature for sniffing decrypted HTTP/HTTPS traffic from all processes using the CFNetwork framework into an HA

null 83 Dec 25, 2022
An AI-powered device to stop people from stealing my packages.

Package Theft Prevention Device An AI-powered device to stop people from stealing my packages. Installation To install on a raspberry pi, clone the re

rydercalmdown 157 Nov 24, 2022
Easily map device and application controls to a midi controller

pymidicontroller Introduction Easily map device and application controls to a midi controller

Tane Barriball 24 May 16, 2022
This application demonstrates IoTVAS device discovery and security assessment API integration with the Rapid7 InsightVM.

Introduction This repository hosts a sample application that demonstrates integrating Firmalyzer's IoTVAS API with the Rapid7 InsightVM platform. This

Firmalyzer BV 4 Nov 9, 2022