Two sample scripts for testing NDEF reading with Desfire commands and also ISO 7816 APDUs

This commit is contained in:
Ondrej Mikle 2018-04-11 00:47:40 +02:00
parent 700789d362
commit 4256abe449
2 changed files with 7 additions and 0 deletions

2
apdu-desfire-wrapped.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
opensc-tool -s "90 5a 00 00 03 01 00 00 00" -s "90 bd 00 00 07 02 00 00 00 2b 00 00 00"

5
apdu-forum4-ndef.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
# read capability container
opensc-tool -s "00 A4 04 00 07 D2760000850101" -s "00 A4 00 0C 02 E103" -s "00 b0 00 00 0f"
# read ndef from file 0xe104
opensc-tool -s "00 a4 04 00 07 D2760000850101" -s "00 a4 00 0c 02 E104" -s "00 b0 00 00 00"