]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfu.c
fix bug in mfu cauth
[proxmark3-svn] / client / cmdhfmfu.c
index 2f7fa2c92dd83cef9e6da514be724b025af1ab5c..8b906904ae6f28355981df714e718df6d151fe1e 100644 (file)
@@ -540,8 +540,8 @@ int CmdHF14AMfucAuth(const char *Cmd){
        } 
 
        uint8_t *key = default_3des_keys[keyNo];
-       if (try3DesAuthentication(key))
-               PrintAndLog("Authentication successful. 3des key: %s",sprint_hex(key, 8));
+       if (try3DesAuthentication(key)>0)
+               PrintAndLog("Authentication successful. 3des key: %s",sprint_hex(key, 16));
        else
                PrintAndLog("Authentication failed");
                        
Impressum, Datenschutz