blob: bfba6e7f9890e71612770962099280dc568ea4cc [file] [log] [blame]
Harald Welte9b227de2021-10-15 21:19:38 +02001# script to be used with pySim-shell.py which is part of the Osmocom pysim package,
2# found at https://osmocom.org/projects/pysim/wiki
3set echo true
4
5# TODO: add your card-specific ADM pin at the end of the verify_adm line below
6verify_adm
7
8select DF.SYSTEM
9
10# Milenage configuration (constants)
11select EF.MILENAGE_CFG
12read_binary_decoded
13
14# 2G authentication kay / algorithm
15select EF.SIM_AUTH_KEY
16read_binary_decoded
17
18# OTA keys
19#select EF.0348_KEY
20#read_records_decoded
21
22select ADF.USIM
23# USIM authentication key / algoritmh in 3G security context
24select EF.USIM_AUTH_KEY
25read_binary_decoded
26# USIM authentication key / algorithm in 2G security context
27select EF.USIM_AUTH_KEY_2G
28read_binary_decoded
29# USIM SQN numbers
30select EF.USIM_SQN
31read_binary_decoded
32
33select ADF.ISIM
34# ISIM authentication key / algorithm
35select EF.ISIM_AUTH_KEY
36read_binary_decoded
37# ISIM SQN numbers
38select EF.ISIM_SQN
39read_binary_decoded
40
41quit