mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 10:34:45 +08:00
FIX: the cmdline parsing was a bit too hard. Thanks to @crayon for pointing out there were a bug here.
This commit is contained in:
parent
7c030a9185
commit
471f89b8bd
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ int CmdAWIDBrute(const char *Cmd){
|
|||
memset(bs, 0x00, size);
|
||||
|
||||
char cmdp = param_getchar(Cmd, 0);
|
||||
if (strlen(Cmd) > 4 || strlen(Cmd) == 0 || cmdp == 'h' || cmdp == 'H') return usage_lf_awid_brute();
|
||||
if (strlen(Cmd) == 0 || cmdp == 'h' || cmdp == 'H') return usage_lf_awid_brute();
|
||||
|
||||
fmtlen = param_get8(Cmd, 0);
|
||||
fc = param_get32ex(Cmd, 1, 0, 10);
|
||||
|
|
Loading…
Reference in a new issue