Fix length of credential in hf iclass sam

Signed-off-by: Eric Betts <bettse@fastmail.fm>
This commit is contained in:
Eric Betts
2024-08-15 21:19:16 -07:00
committed by GitHub
parent 17ab8d52b1
commit e9ff568833
+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, "");