Giter Club home page Giter Club logo

Comments (4)

StefanBruens avatar StefanBruens commented on June 5, 2024

Same on Sierra MC7710.

@eriksejr - can you change line 88 of info.py as follows:

-            build_id, model_string, _ = ver_strings.split(b'\x00')
+            print_row('ver_strings', ver_strings)
+            build_id, model_string, *_ = ver_strings.split(b'\x00')

For the MC7710, output is:
[+] ver_strings: b'M9200B-SCAQWBZD-X3052903\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

As can be seen, the output is padded with b'\x00', each creating an empty segment.

from qcsuper.

eriksejr avatar eriksejr commented on June 5, 2024

@StefanBruens yes that fixes the issue. The version string is similar padded with NULLs:

[+] Compilation date:    May 19 2017 06:37:30
[+] Release date:        Apr 21 2017 10:00:00
[+] Version directory:   C2240506

[+] Common air interface information: 
[+]   Station classmark: 58
[+]   Common air interface revision: 6
[+]   Mobile model:      255
[+]   Mobile firmware revision: 100
[+]   Slot cycle index:  2
[+]   Hardware revision: 0x922 (9.34)

[+] ver_strings:         b'C2240506-M9635TAAAANAZM-1.96273.1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[+] Mobile model ID:     0xffd
[+] Chip version:        2
[+] Firmware build ID:   C2240506-M9635TAAAANAZM-1.96273.1

[+] Diag version:        8

[+] Serial number:       0

Thanks!

from qcsuper.

StefanBruens avatar StefanBruens commented on June 5, 2024

@eriksejr - you shouldn´t close this, as long as a fix is not committed to the repo.

from qcsuper.

p1-mmr avatar p1-mmr commented on June 5, 2024

This should be fixed in commit 586f3c0, thanks

from qcsuper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.