mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
hf mf ecfill: show dump time
This commit is contained in:
parent
73e5045bcd
commit
86b8549d2b
1 changed files with 3 additions and 1 deletions
|
@ -5036,6 +5036,7 @@ static int CmdHF14AMfECFill(const char *Cmd) {
|
|||
memcpy(payload.key, key, sizeof(payload.key));
|
||||
|
||||
clearCommandBuffer();
|
||||
uint64_t t1 = msclock();
|
||||
SendCommandNG(CMD_HF_MIFARE_EML_LOAD, (uint8_t *)&payload, sizeof(payload));
|
||||
|
||||
PacketResponseNG resp;
|
||||
|
@ -5043,9 +5044,10 @@ static int CmdHF14AMfECFill(const char *Cmd) {
|
|||
PrintAndLogEx(WARNING, "command execution time out");
|
||||
return PM3_ETIMEOUT;
|
||||
}
|
||||
t1 = msclock() - t1;
|
||||
|
||||
if (resp.status == PM3_SUCCESS)
|
||||
PrintAndLogEx(SUCCESS, "Fill ( " _GREEN_("ok") " )");
|
||||
PrintAndLogEx(SUCCESS, "Fill ( " _GREEN_("ok") " ) in " _YELLOW_("%i") " ms", t1);
|
||||
else
|
||||
PrintAndLogEx(FAILED, "Fill ( " _RED_("fail") " )");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue