mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
parent
afed67ca2c
commit
de01578c4b
1 changed files with 7 additions and 7 deletions
|
@ -3012,13 +3012,6 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool use_credit_key = arg_get_lit(ctx, 6);
|
|
||||||
bool elite = arg_get_lit(ctx, 7);
|
|
||||||
bool rawkey = arg_get_lit(ctx, 8);
|
|
||||||
bool use_replay = arg_get_lit(ctx, 9);
|
|
||||||
bool verbose = arg_get_lit(ctx, 10);
|
|
||||||
bool shallow_mod = arg_get_lit(ctx, 11);
|
|
||||||
int tearoff_start = arg_get_int_def(ctx, 12, 100);
|
int tearoff_start = arg_get_int_def(ctx, 12, 100);
|
||||||
int tearoff_end = arg_get_int_def(ctx, 13, 200);
|
int tearoff_end = arg_get_int_def(ctx, 13, 200);
|
||||||
|
|
||||||
|
@ -3032,6 +3025,13 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool use_credit_key = arg_get_lit(ctx, 6);
|
||||||
|
bool elite = arg_get_lit(ctx, 7);
|
||||||
|
bool rawkey = arg_get_lit(ctx, 8);
|
||||||
|
bool use_replay = arg_get_lit(ctx, 9);
|
||||||
|
bool verbose = arg_get_lit(ctx, 10);
|
||||||
|
bool shallow_mod = arg_get_lit(ctx, 11);
|
||||||
|
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if ((use_replay + rawkey + elite) > 1) {
|
if ((use_replay + rawkey + elite) > 1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue