Files
rayhunter/tools
oopsbagel 94c576fd96 fix(tools): add pycrate dependency to requirements.txt
nasparse.py and nasparse_test.py require the pycrate_mobile and
pycrate_core libraries provided by the pycrate package.

This commit adds the required package to requirements.txt.
2025-03-07 11:08:20 -08:00
..
2024-08-02 12:42:32 -07:00
2024-07-18 16:01:54 -07:00
2024-12-17 14:46:31 -08:00
2024-12-17 14:46:31 -08:00
2024-07-10 20:24:15 -07:00

Rayhunter tools

asn1grep.py: a script for finding a datatype in ASN.1 files

asn1grep parses our ASN.1 spec files, then searches for a given datatype by recursively descending through the LTE-RRC types we care about. it then prints out each result as a "path" through the highly nested datatypes.

Setup:

  1. python -m venv .venv && . .venv/bin/activate
  2. pip install -r requirements.txt

Usage:

» python asn1grep.py IMSI                                  
searching for IMSI
PCCH-Message [message [message.c1 [c1 [c1.paging [paging [pagingRecordList[0] [ [ue-Identity [ue-Identity.imsi [IMSI]]]]]]]]]]