Merge pull request #2450 from bettse/patch-1

Fix length of credential in `hf iclass sam`
This commit is contained in:
Iceman
2024-08-16 12:45:08 +02:00
committed by GitHub
+1 -1
View File
@@ -4990,7 +4990,7 @@ static int CmdHFiClassSAM(const char *Cmd) {
PrintAndLogEx(NORMAL, "");
PrintAndLogEx(INFO, "Wiegand decode");
wiegand_message_t packed = initialize_message_object(top, mid, bot, 0);
wiegand_message_t packed = initialize_message_object(top, mid, bot, strlen(binstr));
HIDTryUnpack(&packed);
PrintAndLogEx(NORMAL, "");