From dcddfd4dbf619745bca6fc66ad3440e4e457e9b8 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 3 Nov 2023 01:43:18 +0100 Subject: [PATCH] Fix malformed commands --- hwb1/card/test.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hwb1/card/test.txt b/hwb1/card/test.txt index 041f787..d54c87e 100644 --- a/hwb1/card/test.txt +++ b/hwb1/card/test.txt @@ -13,14 +13,14 @@ send_apdu -sc 0 -APDU 8002000002FFFE send_apdu -sc 0 -APDU 802000000431313131 // Still Locked Commands -send_apdu -sc 0 -APDU 800400000001 +send_apdu -sc 0 -APDU 8004000000 // Unlock Card With Correct PIN send_apdu -sc 0 -APDU 802000000431323334 // Now Unlocked Commands send_apdu -sc 0 -APDU 8002000002FFFE -send_apdu -sc 0 -APDU 800400000001 +send_apdu -sc 0 -APDU 8004000001 // Query Author Name send_apdu -sc 0 -APDU 80000000 @@ -29,8 +29,8 @@ send_apdu -sc 0 -APDU 80000000 send_apdu -sc 0 -APDU 8002000002FFFE // Querying Data -send_apdu -sc 0 -APDU 800400000001 -send_apdu -sc 0 -APDU 800400000002 +send_apdu -sc 0 -APDU 8004000001 +send_apdu -sc 0 -APDU 8004000002 // Triggering Unsupported Instruction Error send_apdu -sc 0 -APDU 8001000000 @@ -43,7 +43,7 @@ send_apdu -sc 0 -APDU 80020000150102030405060708090A0B0C0D0E0F101112131415 // Querying Incorrect Amount of Bytes send_apdu -sc 0 -APDU 8002000002FFFE -send_apdu -sc 0 -APDU 800400000003 +send_apdu -sc 0 -APDU 8004000003 card_disconnect release_context