view scripts/grcard2-read-all @ 57:bccf028921bb

apdu-checksw command added to both fc-simtool and fc-uicc-tool
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Mar 2021 23:58:11 +0000
parents da6e9d0b2ee6
children
line wrap: on
line source

# This fc-simtool command script reads the content of all EFs
# on GrcardSIM2 that are known (found with bfsearch-mf) and readable.
# Both low-level and high-level read commands are used.
#
# Some files are readable only to SUPER ADM, hence authentication
# with the default SUPER ADM PIN is included.

select MF
verify-ext 11 88888888

readef 2F01 # EF.ATR
readef 2FE2 # ICCID
select 8A9B # READ BINARY fails!

# proprietary DF?
select 2700
readef 6F00

select DF_TELECOM

# proprietary files
select 0000 # READ BINARY fails!
readef 5F00
readef 5F01

# standard files
select 6F3A # ADN
pb-dump adn
select 6F3B # FDN
pb-dump fdn
select 6F3C # SMS
readef 6F3D # CCP
select 6F40 # MSISDN
pb-dump msisdn
select 6F42 # SMSP
smsp-dump
readef 6F43 # SMSS
select 6F44 # LND
lnd-dump
readef 6F4A # EXT1
readef 6F4B # EXT2

# proprietary files
readef 6FFB
readef 6FFC
readef 6FFD
readef 6FFE

select DF_GSM

# proprietary files
select 0000 # READ BINARY fails!
readef 0001
readef 000A
readef 000B

# standard files
readef 6F05 # LP
readef 6F07 # IMSI
readef 6F20 # Kc
select 6F30 # PLMNsel
plmnsel-dump
readef 6F31 # HPLMN
readef 6F37 # ACMmax
readef 6F38 # SST
sst
readef 6F39 # ACM
readef 6F3E # GID1
readef 6F3F # GID2
readef 6F41 # PUCT
readef 6F45 # CBMI
readef 6F46 # SPN
readef 6F48 # CBMID
readef 6F52 # KcGPRS
readef 6F53 # LOCIGPRS
readef 6F54 # SUME
readef 6F74 # BCCH
readef 6F78 # ACC
readef 6F7B # FPLMN
fplmn-dump
readef 6F7E # LOCI
readef 6FAD # AD
readef 6FAE # PHASE
readef 6FAF # proprietary?
readef 6FC5 # PNN
pnn-dump
select 6FC6 # OPL
opl-dump