]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fix bug in mfu cauth
authormarshmellow42 <marshmellowrf@gmail.com>
Thu, 30 Apr 2015 14:34:20 +0000 (10:34 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Thu, 30 Apr 2015 14:34:20 +0000 (10:34 -0400)
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