mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
break if only checking passwords
This commit is contained in:
parent
903489f7e5
commit
5b1fadb7c6
1 changed files with 7 additions and 1 deletions
|
@ -1888,7 +1888,7 @@ static int CmdLFHitag2Chk(const char *Cmd) {
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "lf hitag chk",
|
CLIParserInit(&ctx, "lf hitag chk",
|
||||||
"Run dictionary key or password recovery against Hitag card.",
|
"Run dictionary key or password recovery against Hitag card.",
|
||||||
"lf hitag chk -> checks for both pwd / crypto keys\n"
|
"lf hitag chk -> checks for both pwd / crypto keys\n"
|
||||||
"lf hitag chk --crypto -> use def dictionary\n"
|
"lf hitag chk --crypto -> use def dictionary\n"
|
||||||
"lf hitag chk --pwd -f my.dic -> pwd mode, custom dictionary"
|
"lf hitag chk --pwd -f my.dic -> pwd mode, custom dictionary"
|
||||||
);
|
);
|
||||||
|
@ -1957,6 +1957,12 @@ static int CmdLFHitag2Chk(const char *Cmd) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
free(keys);
|
free(keys);
|
||||||
|
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
|
||||||
|
if (use_pwd) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
t1 = msclock() - t1;
|
t1 = msclock() - t1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue