FreeCalypso > hg > fc-pcsc-tools
annotate scripts/grcard2-read-all @ 201:fc1635333d81
allow comments in hex data files
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Mar 2021 03:58:49 +0000 |
parents | eb660497f888 |
children |
rev | line source |
---|---|
175
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # This fc-simtool command script reads the content of all EFs |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # on GrcardSIM2 that are known (found with bfsearch-mf) and readable. |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 # Both low-level and high-level read commands are used. |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 # |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # Some files are readable only to SUPER ADM, hence authentication |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # with the default SUPER ADM PIN is included. |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 select MF |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 verify-ext 11 88888888 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 readef 2F01 # EF.ATR |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 readef 2FE2 # ICCID |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 select 8A9B # READ BINARY fails! |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 # proprietary DF? |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 select 2700 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 readef 6F00 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 select DF_TELECOM |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 # proprietary files |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 select 0000 # READ BINARY fails! |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 readef 5F00 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 readef 5F01 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 # standard files |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 select 6F3A # ADN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 pb-dump adn |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 select 6F3B # FDN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 pb-dump fdn |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 select 6F3C # SMS |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 readef 6F3D # CCP |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 select 6F40 # MSISDN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 pb-dump msisdn |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 select 6F42 # SMSP |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 smsp-dump |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 readef 6F43 # SMSS |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 select 6F44 # LND |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 lnd-dump |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 readef 6F4A # EXT1 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 readef 6F4B # EXT2 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 # proprietary files |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 readef 6FFB |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 readef 6FFC |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 readef 6FFD |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 readef 6FFE |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 select DF_GSM |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 # proprietary files |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 select 0000 # READ BINARY fails! |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 readef 0001 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 readef 000A |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 readef 000B |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 # standard files |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 readef 6F05 # LP |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 readef 6F07 # IMSI |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 readef 6F20 # Kc |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 select 6F30 # PLMNsel |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 plmnsel-dump |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 readef 6F31 # HPLMN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 readef 6F37 # ACMmax |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 readef 6F38 # SST |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 sst |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 readef 6F39 # ACM |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 readef 6F3E # GID1 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 readef 6F3F # GID2 |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 readef 6F41 # PUCT |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 readef 6F45 # CBMI |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 readef 6F46 # SPN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 readef 6F48 # CBMID |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 readef 6F52 # KcGPRS |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 readef 6F53 # LOCIGPRS |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 readef 6F54 # SUME |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 readef 6F74 # BCCH |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 readef 6F78 # ACC |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 readef 6F7B # FPLMN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 fplmn-dump |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 readef 6F7E # LOCI |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 readef 6FAD # AD |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 readef 6FAE # PHASE |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 readef 6FAF # proprietary? |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 readef 6FC5 # PNN |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 pnn-dump |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 select 6FC6 # OPL |
eb660497f888
scripts/grcard2-read-all added to collection
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 opl-dump |