diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 4e9086236..a0bec2a98 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1376,7 +1376,7 @@ int CmdHF14AMfChk_fast(const char *Cmd) { timeout = 0; t2 = msclock() - t2; - PrintAndLog("\n[-] Chunk: %.1fs | found %u/%u keys", (float)(t2/1000.0), curr_keys, (SectorsCnt<<1)); + PrintAndLog("\n[-] Chunk: %.1fs | found %u/%u keys (%u)", (float)(t2/1000.0), curr_keys, (SectorsCnt<<1), size); // all keys? if ( curr_keys == SectorsCnt*2 || lastChunk ) { diff --git a/client/proxmark3.c b/client/proxmark3.c index 461a30c30..588b60b82 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -106,6 +106,7 @@ static void *uart_receiver(void *targ) { while (arg->run) { rxlen = 0; if (uart_receive(sp, prx, sizeof(UsbCommand) - (prx-rx), &rxlen)) { + prx += rxlen; if (prx-rx < sizeof(UsbCommand)) { continue;