kamwar / simLAB

Smartcard editor and SIM/SAT simulator
GNU General Public License v2.0
89 stars 29 forks source link

Unable to change SPN of operator SIM card #5

Open robinleblon opened 3 years ago

robinleblon commented 3 years ago

We are trying to use simLAB to update the SPN of a batch of our own operator sim cards. I have the ADM4 key, and have verified that it is working.

I'm getting the following error : AttributeError: 'module' object has no attribute 'ADM_5'

Ful log:

/ADF0/6F38>readi /ADF_USIM/EF_SPN

C-APDU0: 01A40804047FFF6F46
R-APDU0: 611D

C-APDU0: 01C000001D
R-APDU0: 621B8202412183026F46A5038001718A01058B036F06158002001188009000

C-APDU0: 01A40804047FFF6F46
R-APDU0: 611D

C-APDU0: 01C000001D
R-APDU0: 621B8202412183026F46A5038001718A01058B036F06158002001188009000

C-APDU0: 01A40004026F06
R-APDU0: 6121

C-APDU0: 01C0000021
R-APDU0: 621F8205422100301783026F06A5038001718A01058B036F0601800204508801B89000

C-APDU0: 01B2150430
R-APDU0: 80011CA40683010B950108800102A010A40683010B950108A40683010E9501088001019000FFFFFFFFFFFFFFFFFFFFFF9000

C-APDU0: 01A40804047FFF6F46
R-APDU0: 611D

C-APDU0: 01C000001D
R-APDU0: 621B8202412183026F46A5038001718A01058B036F06158002001188009000

C-APDU0: 01B0000011
R-APDU0: 00436974796D657368FFFFFFFFFFFFFFFF9000

readi:
status OK
data name=Citymesh,display=00

/ADF0/6F46>writei /ADF_USIM/EF_SPN "name=test,display=1"

C-APDU0: 01A40804047FFF6F46
R-APDU0: 611D

C-APDU0: 01C000001D
R-APDU0: 621B8202412183026F46A5038001718A01058B036F06158002001188009000

C-APDU0: 01A40804047FFF6F46
R-APDU0: 611D

C-APDU0: 01C000001D
R-APDU0: 621B8202412183026F46A5038001718A01058B036F06158002001188009000

C-APDU0: 01A40004026F06
R-APDU0: 6121

C-APDU0: 01C0000021
R-APDU0: 621F8205422100301783026F06A5038001718A01058B036F0601800204508801B89000

C-APDU0: 01B2150430
R-APDU0: 80011CA40683010B950108800102A010A40683010B950108A40683010E9501088001019000FFFFFFFFFFFFFFFFFFFFFF9000

C-APDU0: 0120000B00
R-APDU0: 6A88
Couldn't get attempts left
AttributeError: 'module' object has no attribute 'ADM_5'