mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
fix coveriy
This commit is contained in:
parent
fbc9e3f631
commit
fa5e69ceef
1 changed files with 1 additions and 1 deletions
|
@ -1239,13 +1239,13 @@ static int CmdHF15Sim(const char *Cmd) {
|
||||||
CLIGetHexWithReturn(ctx, 1, payload.uid, &uidlen);
|
CLIGetHexWithReturn(ctx, 1, payload.uid, &uidlen);
|
||||||
if (uidlen != 8) {
|
if (uidlen != 8) {
|
||||||
PrintAndLogEx(WARNING, "UID must include 16 HEX symbols");
|
PrintAndLogEx(WARNING, "UID must include 16 HEX symbols");
|
||||||
|
CLIParserFree(ctx);
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
payload.block_size = arg_get_int_def(ctx, 2, 4);
|
payload.block_size = arg_get_int_def(ctx, 2, 4);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
|
||||||
PrintAndLogEx(SUCCESS, "Starting simulating UID " _YELLOW_("%s"), iso15693_sprintUID(NULL, payload.uid));
|
PrintAndLogEx(SUCCESS, "Starting simulating UID " _YELLOW_("%s"), iso15693_sprintUID(NULL, payload.uid));
|
||||||
PrintAndLogEx(INFO, "press " _YELLOW_("`Pm3 button`") " to cancel");
|
PrintAndLogEx(INFO, "press " _YELLOW_("`Pm3 button`") " to cancel");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue