mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
Fixed auto nt bug
This commit is contained in:
parent
8784cd1aee
commit
ac14bee321
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ int CmdHF14AMifare(const char *Cmd)
|
|||
uint32_t nt = 0;
|
||||
uint64_t par_list = 0, ks_list = 0, r_key = 0;
|
||||
uint8_t isOK = 0;
|
||||
uint8_t keyBlock[6] = {0,0,0,0,0,0};
|
||||
uint8_t keyBlock[8] = {0};
|
||||
|
||||
if (param_getchar(Cmd, 0) && param_gethex(Cmd, 0, keyBlock, 8)) {
|
||||
PrintAndLog("Nt must include 8 HEX symbols");
|
||||
|
@ -83,7 +83,7 @@ start:
|
|||
else
|
||||
{
|
||||
PrintAndLog("Found invalid key. ( Nt=%08x ,Trying use it to run again...", nt);
|
||||
c.d.asDwords[0] = nt;
|
||||
c.arg[0] = nt;
|
||||
goto start;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue