mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
chg: textual
This commit is contained in:
parent
231b0df578
commit
d894e36b95
1 changed files with 7 additions and 3 deletions
|
@ -1914,6 +1914,8 @@ int CmdHFiClassCheckKeys(const char *Cmd) {
|
||||||
for (uint8_t i=0; i<10 && !got_csn; i++) {
|
for (uint8_t i=0; i<10 && !got_csn; i++) {
|
||||||
if (select_only(CSN, CCNR, false, false)) {
|
if (select_only(CSN, CCNR, false, false)) {
|
||||||
got_csn = true;
|
got_csn = true;
|
||||||
|
} else {
|
||||||
|
printf("One more try\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DropField();
|
DropField();
|
||||||
|
@ -1963,7 +1965,7 @@ int CmdHFiClassCheckKeys(const char *Cmd) {
|
||||||
|
|
||||||
uint64_t t2 = msclock();
|
uint64_t t2 = msclock();
|
||||||
uint32_t timeout = 0;
|
uint32_t timeout = 0;
|
||||||
|
|
||||||
if (ukbhit()) {
|
if (ukbhit()) {
|
||||||
int gc = getchar(); (void)gc;
|
int gc = getchar(); (void)gc;
|
||||||
printf("\naborted via keyboard!\n");
|
printf("\naborted via keyboard!\n");
|
||||||
|
@ -2000,7 +2002,9 @@ int CmdHFiClassCheckKeys(const char *Cmd) {
|
||||||
case 1: {
|
case 1: {
|
||||||
found_debit = true;
|
found_debit = true;
|
||||||
|
|
||||||
PrintAndLog("\n[-] Chunk: %.1fs [debit] found key %s (index %u)"
|
PrintAndLog("\n[-] Chunk [%d/%d]: %.1fs [debit] found key %s (index %u)"
|
||||||
|
, i
|
||||||
|
, keycnt
|
||||||
, (float)(t2/1000.0)
|
, (float)(t2/1000.0)
|
||||||
, sprint_hex(keyBlock + (i+found)*8, 8)
|
, sprint_hex(keyBlock + (i+found)*8, 8)
|
||||||
, found
|
, found
|
||||||
|
@ -2008,7 +2012,7 @@ int CmdHFiClassCheckKeys(const char *Cmd) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 0: {
|
case 0: {
|
||||||
PrintAndLog("\n[-] Chunk: %.1fs [debit]", (float)(t2/1000.0));
|
PrintAndLog("\n[-] Chunk [%d/%d] : %.1fs [debit]", i, keycnt, (float)(t2/1000.0));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 99: {
|
case 99: {
|
||||||
|
|
Loading…
Reference in a new issue