]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripts/calypso.lua
chg: added to print the author.
[proxmark3-svn] / client / scripts / calypso.lua
index 9221c02987a9ab9fcf2621dd63e990a6f2f3ff67..ed9efa1f9af50f15addc6e4f0329eb94840bf9df 100644 (file)
@@ -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',
Impressum, Datenschutz