Harald Welte | 9b227de | 2021-10-15 21:19:38 +0200 | [diff] [blame] | 1 | # 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 |
| 3 | set echo true |
| 4 | |
| 5 | # TODO: add your card-specific ADM pin at the end of the verify_adm line below |
| 6 | verify_adm |
| 7 | |
| 8 | select DF.SYSTEM |
| 9 | |
| 10 | # Milenage configuration (constants) |
| 11 | select EF.MILENAGE_CFG |
| 12 | read_binary_decoded |
| 13 | |
| 14 | # 2G authentication kay / algorithm |
| 15 | select EF.SIM_AUTH_KEY |
| 16 | read_binary_decoded |
| 17 | |
| 18 | # OTA keys |
| 19 | #select EF.0348_KEY |
| 20 | #read_records_decoded |
| 21 | |
| 22 | select ADF.USIM |
| 23 | # USIM authentication key / algoritmh in 3G security context |
| 24 | select EF.USIM_AUTH_KEY |
| 25 | read_binary_decoded |
| 26 | # USIM authentication key / algorithm in 2G security context |
| 27 | select EF.USIM_AUTH_KEY_2G |
| 28 | read_binary_decoded |
| 29 | # USIM SQN numbers |
| 30 | select EF.USIM_SQN |
| 31 | read_binary_decoded |
| 32 | |
| 33 | select ADF.ISIM |
| 34 | # ISIM authentication key / algorithm |
| 35 | select EF.ISIM_AUTH_KEY |
| 36 | read_binary_decoded |
| 37 | # ISIM SQN numbers |
| 38 | select EF.ISIM_SQN |
| 39 | read_binary_decoded |
| 40 | |
| 41 | quit |