mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-09 03:00:07 -04:00
fix "lf hitag reader --23" - now allows 6bytes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user