mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
This commit is contained in:
parent
74760c6de6
commit
452ad19bb9
1 changed files with 2 additions and 2 deletions
|
@ -433,8 +433,6 @@ static int CmdHIDBrute(const char *Cmd) {
|
||||||
cn_hi.OEM = arg_get_int_def(ctx, 6, 0);
|
cn_hi.OEM = arg_get_int_def(ctx, 6, 0);
|
||||||
delay = arg_get_int_def(ctx, 7, 1000);
|
delay = arg_get_int_def(ctx, 7, 1000);
|
||||||
|
|
||||||
CLIParserFree(ctx);
|
|
||||||
|
|
||||||
if (arg_get_lit(ctx, 8) && arg_get_lit(ctx, 9)) {
|
if (arg_get_lit(ctx, 8) && arg_get_lit(ctx, 9)) {
|
||||||
direction = 0;
|
direction = 0;
|
||||||
} else if (arg_get_lit(ctx, 8)) {
|
} else if (arg_get_lit(ctx, 8)) {
|
||||||
|
@ -443,6 +441,8 @@ static int CmdHIDBrute(const char *Cmd) {
|
||||||
direction = 2;
|
direction = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
PrintAndLogEx(INFO, "Wiegand format#.. %i", format_idx);
|
PrintAndLogEx(INFO, "Wiegand format#.. %i", format_idx);
|
||||||
PrintAndLogEx(INFO, "OEM#............. %u", cn_hi.OEM);
|
PrintAndLogEx(INFO, "OEM#............. %u", cn_hi.OEM);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue