X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/12b998cbd883d557dcad7a10174be6634f2fb89c..3c61ee4338440d7b203322f7941bc5774935ef48:/client/scripts/calypso.lua diff --git a/client/scripts/calypso.lua b/client/scripts/calypso.lua index 9221c029..ed9efa1f 100644 --- a/client/scripts/calypso.lua +++ b/client/scripts/calypso.lua @@ -52,6 +52,7 @@ local function calypso_parse(result) local r = Command.parse(result) local len = r.arg2 * 2 r.data = string.sub(r.data, 0, len); + print('GOT:', r.data) if r.arg1 == 0 then return r, nil end @@ -162,7 +163,8 @@ local function calypso_apdu_status(apdu) end local _calypso_cmds = { - ["01.Select ICC file"] = '0294 a4 080004 3f00 0002', + ["01.Select ICC file"] = '0294 a4 00 0002 3f00', + --["01.Select ICC file"] = '0294 a4 080004 3f00 0002', ["02.ICC"] = '0294 b2 01 041d', ["03.Select EnvHol file"] = '0294 a4 080004 2000 2001', ["04.EnvHol1"] = '0294 b2 01 041d',