]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/nonce2key/nonce2key.c
CHG: print up to 20 possible keys.
[proxmark3-svn] / client / nonce2key / nonce2key.c
index 968e1a9d23eeac19e083473c5327703c43ed320f..54cb0d2a5df723c85d64ef86a75dc5cfbb5042bf 100644 (file)
@@ -170,8 +170,8 @@ int tryMfk32(uint64_t myuid, uint8_t *data, uint8_t *outputkey ){
        nr1_enc = *(uint32_t*)(data+32);
        ar1_enc = *(uint32_t*)(data+36);
 
        nr1_enc = *(uint32_t*)(data+32);
        ar1_enc = *(uint32_t*)(data+36);
 
-       // PrintAndLog("Recovering key for:");
-       // PrintAndLog("    uid: %08x",uid);
+       // PrintAndLog("recovering key for:");
+       // PrintAndLog("    uid: %08x   %08x",uid, myuid);
        // PrintAndLog("     nt: %08x",nt);
        // PrintAndLog(" {nr_0}: %08x",nr0_enc);
        // PrintAndLog(" {ar_0}: %08x",ar0_enc);
        // PrintAndLog("     nt: %08x",nt);
        // PrintAndLog(" {nr_0}: %08x",nr0_enc);
        // PrintAndLog(" {ar_0}: %08x",ar0_enc);
@@ -191,7 +191,7 @@ int tryMfk32(uint64_t myuid, uint8_t *data, uint8_t *outputkey ){
                        PrintAndLog("Found Key: [%012"llx"]",key);
                        isSuccess = TRUE;
                        ++counter;
                        PrintAndLog("Found Key: [%012"llx"]",key);
                        isSuccess = TRUE;
                        ++counter;
-                       if (counter==10)
+                       if (counter==20)
                                break;
                }
        }
                                break;
                }
        }
Impressum, Datenschutz