mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-22 00:06:13 +08:00
fix "lf hitag reader --23" - now allows 6bytes
This commit is contained in:
parent
cfd13e16e9
commit
3d663be25a
|
@ -570,8 +570,8 @@ static int CmdLFHitagReader(const char *Cmd) {
|
|||
}
|
||||
|
||||
// sanity checks
|
||||
if (keylen != 0 && keylen != 4) {
|
||||
PrintAndLogEx(WARNING, "Wrong KEY len expected 0 or 4, got %d", keylen);
|
||||
if (keylen != 0 && keylen != 4 && keylen != 6) {
|
||||
PrintAndLogEx(WARNING, "Wrong KEY len expected 0,4 or 6, got %d", keylen);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue