Skip to content

Instantly share code, notes, and snippets.

@vmlemon
Created September 10, 2011 16:40
Show Gist options
  • Save vmlemon/1208504 to your computer and use it in GitHub Desktop.
Save vmlemon/1208504 to your computer and use it in GitHub Desktop.
A list of files and applications contained on an Oyster card
tyson@UmBongo:~/nfc-tools-read-only/libfreefare/examples$ lsnfc
device = ACS ACR122U 00 00 / ACR122U103 - PN532 v1.6 (0x07)
UID=048b1ff1ad2680
Several possible matches:
* NXP MIFARE DESFire EV1 2k
* NXP MIFARE Plus 1k
* NXP MIFARE Plus 4k
* NXP JCOP31 or JCOP41
1 tag(s) on device.
tyson@UmBongo:~/nfc-tools-read-only/libfreefare/examples$ nfc-list
nfc-list uses libnfc 1.5.0 (r1122)
Connected to NFC device: ACS ACR122U 00 00 / ACR122U103 - PN532 v1.6 (0x07)
1 ISO14443A passive target(s) found:
ATQA (SENS_RES): 03 44
UID (NFCID1): 04 8b 1f f1 ad 26 80
SAK (SEL_RES): 20
ATS: 75 77 81 02 80
tyson@UmBongo:~/nfc-tools-read-only/libfreefare/examples$ sudo ./mifare-desfire-info
===> 0000 90 60 00 00 00 |.`... |
<=== 0000 04 01 01 01 00 16 05 91 af |......... |
===> 0000 90 af 00 00 00 |..... |
<=== 0000 04 01 01 01 03 16 05 91 af |......... |
===> 0000 90 af 00 00 00 |..... |
<=== 0000 04 8b 1f f1 ad 26 80 00 00 00 00 00 42 08 91 00 |.....&......B...|
===> Version information for tag 048b1ff1ad2680:
UID: 0x048b1ff1ad2680
Batch number: 0x0000000000
Production date: week 42, 2008
Hardware Information:
Vendor ID: 0x04
Type: 0x01
Subtype: 0x01
Version: 1.0
Storage size: 0x16 (=2048 bytes)
Protocol: 0x05
Software Information:
Vendor ID: 0x04
Type: 0x01
Subtype: 0x01
Version: 1.3
Storage size: 0x16 (=2048 bytes)
Protocol: 0x05
===> 0000 90 45 00 00 00 |.E... |
<=== 0000 0b 01 91 00 |.... |
Master Key settings (0x0b):
0x08 configuration changeable;
0x00 PICC Master Key not required for create / delete;
0x02 Free directory list access without PICC Master Key;
0x01 Allow changing the Master Key;
===> 0000 90 64 00 00 01 00 00 |.d..... |
<=== 0000 31 91 00 |1.. |
Master Key version: 49 (0x31)
===> 0000 90 6e 00 00 00 |.n... |
<=== 0000 e0 04 00 91 00 |..... |
Free memory: 1248 bytes
Use random UID: no
Attempting to get Application IDs
===> 0000 90 6a 00 00 00 |.j... |
<=== 0000 31 59 4f 91 00 |1YO.. |
Attempting to select the Oyster application
===> 0000 90 5a 00 00 03 31 59 4f 00 |.Z...1YO. |
<=== 0000 91 00 |.. |
Attempting to get File IDs from somewhere...
===> 0000 90 6f 00 00 00 |.o... |
<=== 0000 00 01 02 03 04 05 06 07 91 00 |.......... |
Attempting to get Directory File names
===> 0000 90 6d 00 00 00 |.m... |
<=== 0000 91 9d |.. |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment