mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-23 22:19:59 -07:00
Bumps the dependency-type group in /tools with 4 updates: [asn1tools](https://github.com/eerimoq/asn1tools), [bitstruct](https://github.com/eerimoq/bitstruct), [pycrate](https://github.com/pycrate-org/pycrate) and [pyparsing](https://github.com/pyparsing/pyparsing). Updates `asn1tools` from 0.166.0 to 0.167.0 - [Release notes](https://github.com/eerimoq/asn1tools/releases) - [Commits](https://github.com/eerimoq/asn1tools/compare/0.166.0...0.167.0) Updates `bitstruct` from 8.19.0 to 8.22.1 - [Commits](https://github.com/eerimoq/bitstruct/compare/8.19.0...8.22.1) Updates `pycrate` from 0.7.8 to 0.7.11 - [Release notes](https://github.com/pycrate-org/pycrate/releases) - [Commits](https://github.com/pycrate-org/pycrate/compare/0.7.8...0.7.11) Updates `pyparsing` from 3.1.2 to 3.3.2 - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.1.2...3.3.2) --- updated-dependencies: - dependency-name: asn1tools dependency-version: 0.167.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependency-type - dependency-name: bitstruct dependency-version: 8.22.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependency-type - dependency-name: pycrate dependency-version: 0.7.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependency-type - dependency-name: pyparsing dependency-version: 3.3.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependency-type ... Signed-off-by: dependabot[bot] <support@github.com>
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:
python -m venv .venv && . .venv/bin/activatepip 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]]]]]]]]]]