change package-AID but download and install successfully
Posted: Tue Aug 18, 2015 2:46 am
I used JCIDE to debug my applet with the package's AID=0102030405 and applet'AID=010203040501. And converted my applet to .cap file.
Then I change my package's AID via WinHex, as follows:
original AID:
changed AID:
After that I used pyApdutool to download and install the .cap file.In my opinion,it wouldn't succeed at all. Unexpectedly, 90 00. What a strange issue!
download:
install:
I have changed the package's AID,that is the first 5 bytes of package'AID and applet'AID are not equal. Why succeed?
Can anyone clarify my doubts? any help is appreciated!
Addtionally, I also tried to change the package- AID' length- 91 82 73 64 55 32,it download successfully either!
Then I change my package's AID via WinHex, as follows:
original AID:
changed AID:
After that I used pyApdutool to download and install the .cap file.In my opinion,it wouldn't succeed at all. Unexpectedly, 90 00. What a strange issue!
download:
install:
I have changed the package's AID,that is the first 5 bytes of package'AID and applet'AID are not equal. Why succeed?
Can anyone clarify my doubts? any help is appreciated!
Addtionally, I also tried to change the package- AID' length- 91 82 73 64 55 32,it download successfully either!