fix "lf hitag reader --23" - now allows 6bytes
This commit is contained in:
1 parent
cfd13e16e9
commit
3d663be25a
1 file changed
+2
-2
@@ -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