]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
add a specific check function for static nonces (used in 'hf mf nested') (#911)
[proxmark3-svn] / client / cmdhfmf.c
index 93c3ea65c37a00026b8b4d2b6012c6f23178d25d..d31b8264ce497cf28fedbad9ddb76c14acb8481b 100644 (file)
@@ -677,7 +677,7 @@ int CmdHF14AMfNested(const char *Cmd) {
                // check if we can authenticate to sector\r
                res = mfCheckKeys(blockNo, keyType, timeout14a, true, 1, key, &key64);\r
                if (res) {\r
-                       PrintAndLog("Can't authenticate to block:%3d key type:%c key:%s", blockNo, keyType?'B':'A', sprint_hex(key, 6));\r
+                       PrintAndLog("Can't authenticate to block %d, key type %c, key %s", blockNo, keyType?'B':'A', sprint_hex(key, 6));\r
                        return 3;\r
                }\r
 \r
@@ -2672,7 +2672,7 @@ int CmdHF14AMfSniff(const char *Cmd){
                }\r
 \r
                UsbCommand resp;\r
-               if (WaitForResponseTimeoutW(CMD_ACK, &resp, 2000, false)) {\r
+               if (WaitForResponseTimeoutW(CMD_UNKNOWN, &resp, 2000, false)) {\r
                        res = resp.arg[0] & 0xff;\r
                        uint16_t traceLen = resp.arg[1];\r
                        len = resp.arg[2];\r
Impressum, Datenschutz